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