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

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

Issue 2429803002: Prepare for introduction of rtc::PacketTransportInterface. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/p2p/BUILD.gn ('k') | webrtc/p2p/p2p.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/packettransportinterface.h
diff --git a/webrtc/base/optional.cc b/webrtc/p2p/base/packettransportinterface.h
similarity index 61%
copy from webrtc/base/optional.cc
copy to webrtc/p2p/base/packettransportinterface.h
index 6bebdd5a19225fcf46424e97c95d28ccba1b800e..a18081cf72b896a5a1160e08f32e838b9b0b641d 100644
--- a/webrtc/base/optional.cc
+++ b/webrtc/p2p/base/packettransportinterface.h
@@ -8,16 +8,15 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/base/optional.h"
+#ifndef WEBRTC_P2P_BASE_PACKETTRANSPORTINTERFACE_H_
+#define WEBRTC_P2P_BASE_PACKETTRANSPORTINTERFACE_H_
-namespace rtc {
-namespace optional_internal {
-
-#if RTC_HAS_ASAN
+namespace cricket {
+class TransportChannel;
+}
-void* FunctionThatDoesNothingImpl(void* x) { return x; }
-
-#endif
+namespace rtc {
+typedef cricket::TransportChannel PacketTransportInterface;
+}
-} // namespace optional_internal
-} // namespace rtc
+#endif // WEBRTC_P2P_BASE_PACKETTRANSPORTINTERFACE_H_
« no previous file with comments | « webrtc/p2p/BUILD.gn ('k') | webrtc/p2p/p2p.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698