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

Unified Diff: content/browser/renderer_host/p2p/socket_dispatcher_host.cc

Issue 381683003: Fix enable_webrtc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enable_webrtc code style fix Created 6 years, 5 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: content/browser/renderer_host/p2p/socket_dispatcher_host.cc
diff --git a/content/browser/renderer_host/p2p/socket_dispatcher_host.cc b/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
index bb8c1fb9610a4aa8e185a940a3ca3b88ff947b74..5bcc40ce8b336ebe4673cec23fc1b7aa22acf727 100644
--- a/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
+++ b/content/browser/renderer_host/p2p/socket_dispatcher_host.cc
@@ -148,6 +148,7 @@ void P2PSocketDispatcherHost::OnIPAddressChanged() {
&P2PSocketDispatcherHost::DoGetNetworkList, this));
}
+#if defined(ENABLE_WEBRTC)
void P2PSocketDispatcherHost::StartRtpDump(
bool incoming,
bool outgoing,
@@ -167,7 +168,9 @@ void P2PSocketDispatcherHost::StartRtpDump(
it->second->StartRtpDump(incoming, outgoing, packet_callback);
}
}
+#endif
+#if defined(ENABLE_WEBRTC)
void P2PSocketDispatcherHost::StopRtpDumpOnUIThread(bool incoming,
bool outgoing) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -179,6 +182,7 @@ void P2PSocketDispatcherHost::StopRtpDumpOnUIThread(bool incoming,
incoming,
outgoing));
}
+#endif
P2PSocketDispatcherHost::~P2PSocketDispatcherHost() {
DCHECK(sockets_.empty());

Powered by Google App Engine
This is Rietveld 408576698