Index: webrtc/p2p/base/p2ptransport.h |
diff --git a/webrtc/p2p/base/p2ptransport.h b/webrtc/p2p/base/p2ptransport.h |
index 34cc8491a92719daa62a61785883add07e66d7c3..8ffdfdcce29446bf9936d88e491b8719bd238c8b 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& name, PortAllocator* allocator); |
virtual ~P2PTransport(); |
protected: |
@@ -31,6 +29,7 @@ class P2PTransport : public Transport { |
friend class P2PTransportChannel; |
+ private: |
DISALLOW_COPY_AND_ASSIGN(P2PTransport); |
}; |