Index: webrtc/p2p/base/udptransport.h |
diff --git a/webrtc/p2p/base/p2ptransport.h b/webrtc/p2p/base/udptransport.h |
similarity index 56% |
copy from webrtc/p2p/base/p2ptransport.h |
copy to webrtc/p2p/base/udptransport.h |
index d4da224f9793d79b41ff3364d7d684050dfc93ed..0587c11f1abbfa1f2764956f0c9410f522ee3641 100644 |
--- a/webrtc/p2p/base/p2ptransport.h |
+++ b/webrtc/p2p/base/udptransport.h |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright 2004 The WebRTC Project Authors. All rights reserved. |
+ * Copyright 2016 The WebRTC Project Authors. All rights reserved. |
* |
* Use of this source code is governed by a BSD-style license |
* that can be found in the LICENSE file in the root of the source |
@@ -8,8 +8,8 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#ifndef WEBRTC_P2P_BASE_P2PTRANSPORT_H_ |
-#define WEBRTC_P2P_BASE_P2PTRANSPORT_H_ |
+#ifndef WEBRTC_P2P_BASE_UDPTRANSPORT_H_ |
+#define WEBRTC_P2P_BASE_UDPTRANSPORT_H_ |
#include <string> |
@@ -18,22 +18,21 @@ |
namespace cricket { |
-// Everything in this class should be called on the worker thread. |
-class P2PTransport : public Transport { |
+// Everything in this class should be called on the network thread. |
+class UdpTransport : public Transport { |
pthatcher1
2016/10/13 22:37:01
Can you remove this class from this CL? We can de
|
public: |
- P2PTransport(const std::string& name, PortAllocator* allocator); |
- virtual ~P2PTransport(); |
+ UdpTransport(const std::string& name, PortAllocator* allocator); |
+ virtual ~UdpTransport(); |
protected: |
- // Creates and destroys P2PTransportChannel. |
virtual TransportChannelImpl* CreateTransportChannel(int component); |
virtual void DestroyTransportChannel(TransportChannelImpl* channel); |
- friend class P2PTransportChannel; |
+ friend class UdpTransportChannel; |
- RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransport); |
+ RTC_DISALLOW_COPY_AND_ASSIGN(UdpTransport); |
}; |
} // namespace cricket |
-#endif // WEBRTC_P2P_BASE_P2PTRANSPORT_H_ |
+#endif // WEBRTC_P2P_BASE_UDPTRANSPORT_H_ |