Index: content/renderer/media/media_stream_dependency_factory.cc |
diff --git a/content/renderer/media/media_stream_dependency_factory.cc b/content/renderer/media/media_stream_dependency_factory.cc |
index 0f3b731f6b049e791a290b20ea921ffe425ae63b..a4ed0ae7dd3e0da8eb739c9c61e7feeb5ebb556e 100644 |
--- a/content/renderer/media/media_stream_dependency_factory.cc |
+++ b/content/renderer/media/media_stream_dependency_factory.cc |
@@ -50,10 +50,6 @@ |
namespace content { |
-// The constraint key for the PeerConnection constructor for enabling diagnostic |
-// WebRTC logging. It's a Google specific key, hence the "goog" prefix. |
-const char kWebRtcLoggingConstraint[] = "googLog"; |
- |
// Constant constraint keys which enables default audio constraints on |
// mediastreams with audio. |
struct { |
@@ -569,19 +565,6 @@ MediaStreamDependencyFactory::CreatePeerConnection( |
CHECK(web_frame); |
CHECK(observer); |
- webrtc::MediaConstraintsInterface::Constraints optional_constraints = |
- constraints->GetOptional(); |
- std::string constraint_value; |
- if (optional_constraints.FindFirst(kWebRtcLoggingConstraint, |
- &constraint_value)) { |
- std::string url = web_frame->document().url().spec(); |
- RenderThreadImpl::current()->GetIOMessageLoopProxy()->PostTask( |
- FROM_HERE, base::Bind( |
- &InitWebRtcLogging, |
- constraint_value, |
- url)); |
- } |
- |
scoped_refptr<P2PPortAllocatorFactory> pa_factory = |
new talk_base::RefCountedObject<P2PPortAllocatorFactory>( |
p2p_socket_dispatcher_.get(), |