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

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

Issue 1125133005: bluetooth: Move testing IPC from BluetoothDispatcher to BlinkTestRunner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for stable release mode tests 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 14006ce388f2c59fd6e83ec6256919e5f01b3bba..281284a77e8eb17733ff8a50bd514df274c77b7e 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -933,7 +933,8 @@ void RenderProcessHostImpl::CreateMessageFilters() {
message_port_message_filter_.get()));
if (browser_command_line.HasSwitch(
switches::kEnableExperimentalWebPlatformFeatures)) {
- AddFilter(new BluetoothDispatcherHost());
+ bluetooth_dispatcher_host_ = new BluetoothDispatcherHost();
+ AddFilter(bluetooth_dispatcher_host_.get());
}
}
@@ -2464,4 +2465,8 @@ void RenderProcessHostImpl::GetAudioOutputControllers(
audio_renderer_host()->GetOutputControllers(callback);
}
+BluetoothDispatcherHost* RenderProcessHostImpl::GetBluetoothDispatcherHost() {
+ return bluetooth_dispatcher_host_.get();
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698