| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index c607c2c97040ee9081cc620b3f1ec50cf680e72a..4b0d9ff8f2c625c7ed673c46e3c80ce818339afd 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -642,7 +642,9 @@ void CreateUsbDeviceManager(
|
| } // namespace
|
|
|
| ChromeContentBrowserClient::ChromeContentBrowserClient()
|
| - :
|
| + : experimental_web_platform_features_enabled_(
|
| + base::CommandLine::ForCurrentProcess()
|
| + ->HasSwitch(switches::kEnableExperimentalWebPlatformFeatures)),
|
| weak_factory_(this) {
|
| #if defined(ENABLE_PLUGINS)
|
| for (size_t i = 0; i < arraysize(kPredefinedAllowedDevChannelOrigins); ++i)
|
| @@ -2697,6 +2699,10 @@ void ChromeContentBrowserClient::OverridePageVisibilityState(
|
| }
|
| }
|
|
|
| +bool ChromeContentBrowserClient::ExperimentalFeaturesEnabled() {
|
| + return experimental_web_platform_features_enabled_;
|
| +}
|
| +
|
| #if defined(ENABLE_WEBRTC)
|
| void ChromeContentBrowserClient::MaybeCopyDisableWebRtcEncryptionSwitch(
|
| base::CommandLine* to_command_line,
|
|
|