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

Unified Diff: webrtc/p2p/base/p2ptransport.h

Issue 1246913005: TransportController refactoring (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Set media engine on voice channel Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/p2p/base/p2ptransport.h
diff --git a/webrtc/p2p/base/p2ptransport.h b/webrtc/p2p/base/p2ptransport.h
index 34cc8491a92719daa62a61785883add07e66d7c3..e187f1ce5cb3fc0e3c85e811e0af20f2c779e85e 100644
--- a/webrtc/p2p/base/p2ptransport.h
+++ b/webrtc/p2p/base/p2ptransport.h
@@ -16,12 +16,10 @@
namespace cricket {
+// Everything in this class should be called on the worker thread.
class P2PTransport : public Transport {
public:
- P2PTransport(rtc::Thread* signaling_thread,
- rtc::Thread* worker_thread,
- const std::string& content_name,
- PortAllocator* allocator);
+ P2PTransport(const std::string& content_name, PortAllocator* allocator);
virtual ~P2PTransport();
protected:
@@ -31,6 +29,7 @@ class P2PTransport : public Transport {
friend class P2PTransportChannel;
+ private:
DISALLOW_COPY_AND_ASSIGN(P2PTransport);
};

Powered by Google App Engine
This is Rietveld 408576698