Index: webrtc/p2p/rawudp/rawudptransport.h |
diff --git a/webrtc/p2p/base/p2ptransport.h b/webrtc/p2p/rawudp/rawudptransport.h |
similarity index 56% |
copy from webrtc/p2p/base/p2ptransport.h |
copy to webrtc/p2p/rawudp/rawudptransport.h |
index d4da224f9793d79b41ff3364d7d684050dfc93ed..27e1e9d048791c5d216268e2f6060e23f7435bfb 100644 |
--- a/webrtc/p2p/base/p2ptransport.h |
+++ b/webrtc/p2p/rawudp/rawudptransport.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_RAWUDP_RAWUDPTRANSPORT_H_ |
+#define WEBRTC_P2P_RAWUDP_RAWUDPTRANSPORT_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 RawUdpTransport : public Transport { |
pthatcher1
2016/10/07 17:36:36
I don't think you need a UdpTransport. I think yo
Taylor Brandstetter
2016/10/07 18:24:02
When are we planning on doing that though? We talk
pthatcher1
2016/10/07 21:15:39
We'll remove the ICE and DTLS ones later. But we
|
public: |
- P2PTransport(const std::string& name, PortAllocator* allocator); |
- virtual ~P2PTransport(); |
+ RawUdpTransport(const std::string& name, PortAllocator* allocator); |
+ virtual ~RawUdpTransport(); |
protected: |
- // Creates and destroys P2PTransportChannel. |
virtual TransportChannelImpl* CreateTransportChannel(int component); |
virtual void DestroyTransportChannel(TransportChannelImpl* channel); |
- friend class P2PTransportChannel; |
+ friend class RawUdpTransportChannel; |
- RTC_DISALLOW_COPY_AND_ASSIGN(P2PTransport); |
+ RTC_DISALLOW_COPY_AND_ASSIGN(RawUdpTransport); |
}; |
} // namespace cricket |
-#endif // WEBRTC_P2P_BASE_P2PTRANSPORT_H_ |
+#endif // WEBRTC_P2P_RAWUDP_RAWUDPTRANSPORT_H_ |