Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: webrtc/p2p/base/transport.h

Issue 2396513003: Restore thread name consistency for webrtc/p2p/ . (Closed)
Patch Set: Do not reuse terms 'network thread' or 'worker thread' for the test relayserver. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 // A Transport manages a set of named channels of the same type. 11 // A Transport manages a set of named channels of the same type.
12 // 12 //
13 // Subclasses choose the appropriate class to instantiate for each channel; 13 // Subclasses choose the appropriate class to instantiate for each channel;
14 // however, this base class keeps track of the channels by name, watches their 14 // however, this base class keeps track of the channels by name, watches their
15 // state changes (in order to update the manager's state), and forwards 15 // state changes (in order to update the manager's state), and forwards
16 // requests to begin connecting or to reset to each of the channels. 16 // requests to begin connecting or to reset to each of the channels.
17 // 17 //
18 // On Threading: Transport performs work solely on the worker thread, and so 18 // On Threading: Transport performs work solely on the network thread, and so
19 // its methods should only be called on the worker thread. 19 // its methods should only be called on the network thread.
20 // 20 //
21 // Note: Subclasses must call DestroyChannels() in their own destructors. 21 // Note: Subclasses must call DestroyChannels() in their own destructors.
22 // It is not possible to do so here because the subclass destructor will 22 // It is not possible to do so here because the subclass destructor will
23 // already have run. 23 // already have run.
24 24
25 #ifndef WEBRTC_P2P_BASE_TRANSPORT_H_ 25 #ifndef WEBRTC_P2P_BASE_TRANSPORT_H_
26 #define WEBRTC_P2P_BASE_TRANSPORT_H_ 26 #define WEBRTC_P2P_BASE_TRANSPORT_H_
27 27
28 #include <map> 28 #include <map>
29 #include <memory> 29 #include <memory>
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 414
415 ChannelMap channels_; 415 ChannelMap channels_;
416 416
417 RTC_DISALLOW_COPY_AND_ASSIGN(Transport); 417 RTC_DISALLOW_COPY_AND_ASSIGN(Transport);
418 }; 418 };
419 419
420 420
421 } // namespace cricket 421 } // namespace cricket
422 422
423 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_ 423 #endif // WEBRTC_P2P_BASE_TRANSPORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698