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); |
}; |