Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 1134473003: bluetooth: Add a WebBluetooth command line flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add to flag to histogram Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/startup/bad_flags_prompt.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 66dfa9c9266c671eb288f7e72689772ed8297a5e..5245ebebacb752ba534dab46f5654a293d44c056 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -931,8 +931,7 @@ void RenderProcessHostImpl::CreateMessageFilters() {
AddFilter(new NavigatorConnectDispatcherHost(
storage_partition_impl_->GetNavigatorConnectContext(),
message_port_message_filter_.get()));
- if (browser_command_line.HasSwitch(
- switches::kEnableExperimentalWebPlatformFeatures)) {
+ if (browser_command_line.HasSwitch(switches::kEnableWebBluetooth)) {
bluetooth_dispatcher_host_ = new BluetoothDispatcherHost();
AddFilter(bluetooth_dispatcher_host_.get());
}
@@ -1281,6 +1280,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kEnableViewport,
switches::kEnableViewportMeta,
switches::kEnableVtune,
+ switches::kEnableWebBluetooth,
switches::kEnableWebGLDraftExtensions,
switches::kEnableWebGLImageChromium,
switches::kExplicitlyAllowedPorts,
« no previous file with comments | « chrome/browser/ui/startup/bad_flags_prompt.cc ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698