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

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: Added comment to explain why we add the flag. 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
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 25a4fa3bccd99f476f4a94de462133b135463f79..e5c0be002d9831c124f79264e8b645ddd058f3fe 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)) {
AddFilter(new BluetoothDispatcherHost());
}
}
@@ -1286,6 +1285,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kEnableViewport,
switches::kEnableViewportMeta,
switches::kEnableVtune,
+ switches::kEnableWebBluetooth,
switches::kEnableWebGLDraftExtensions,
switches::kEnableWebGLImageChromium,
switches::kExplicitlyAllowedPorts,

Powered by Google App Engine
This is Rietveld 408576698