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

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

Issue 381683003: Fix enable_webrtc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add ifdef on socket_dispatcher_host.h 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
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/p2p/socket_dispatcher_host.h
diff --git a/content/browser/renderer_host/p2p/socket_dispatcher_host.h b/content/browser/renderer_host/p2p/socket_dispatcher_host.h
index 21376bdd320d61e611101af9f6a49dbaf22100b0..231e1fa0a45809cf9253fd43920755c9af17279d 100644
--- a/content/browser/renderer_host/p2p/socket_dispatcher_host.h
+++ b/content/browser/renderer_host/p2p/socket_dispatcher_host.h
@@ -47,10 +47,12 @@ class P2PSocketDispatcherHost
virtual void OnIPAddressChanged() OVERRIDE;
// Starts the RTP packet header dumping. Must be called on the IO thread.
+#if defined(ENABLE_WEBRTC)
jam 2014/07/16 18:27:23 nit: put the comment inside the ifdef. also, if yo
void StartRtpDump(
bool incoming,
bool outgoing,
const RenderProcessHost::WebRtcRtpPacketCallback& packet_callback);
+#endif
// Stops the RTP packet header dumping. Must be Called on the UI thread.
void StopRtpDumpOnUIThread(bool incoming, bool outgoing);
@@ -109,7 +111,9 @@ class P2PSocketDispatcherHost
bool dump_incoming_rtp_packet_;
bool dump_outgoing_rtp_packet_;
+#if defined(ENABLE_WEBRTC)
RenderProcessHost::WebRtcRtpPacketCallback packet_callback_;
+#endif
DISALLOW_COPY_AND_ASSIGN(P2PSocketDispatcherHost);
};
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698