Skip to content
  • tommyw@google.com's avatar
    MediaStream API: Create a flag to enable PeerConnection00 · 496c6bf5
    tommyw@google.com authored
    https://bugs.webkit.org/show_bug.cgi?id=96989
    
    Reviewed by Adam Barth.
    
    Adding the functionality to separately enable/disable PeerConnection00.
    For now it is enabled by default.
    
    Source/WebCore:
    
    Not testable, nor likely to cause issues.
    
    * bindings/generic/RuntimeEnabledFeatures.cpp:
    (WebCore):
    * bindings/generic/RuntimeEnabledFeatures.h:
    (WebCore::RuntimeEnabledFeatures::deprecatedPeerConnectionEnabled):
    (WebCore::RuntimeEnabledFeatures::setDeprecatedPeerConnectionEnabled):
    (WebCore::RuntimeEnabledFeatures::webkitPeerConnection00Enabled):
    (RuntimeEnabledFeatures):
    
    Source/WebKit/chromium:
    
    * public/WebRuntimeFeatures.h:
    (WebRuntimeFeatures):
    * src/WebRuntimeFeatures.cpp:
    (WebKit::WebRuntimeFeatures::enableDeprecatedPeerConnection):
    (WebKit):
    (WebKit::WebRuntimeFeatures::isDeprecatedPeerConnectionEnabled):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    496c6bf5