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

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

Issue 1922923002: bluetooth: Move requestDevice to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-request-device
Patch Set: Merge Created 4 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.h
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
index e46e2c511257b92098a5282633d58b3f1f738b0e..e7f189f88069edd43f3c8222edbb83b86ad755a2 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -19,6 +19,7 @@
#include "base/process/process.h"
#include "base/synchronization/waitable_event.h"
#include "build/build_config.h"
+#include "content/browser/bluetooth/bluetooth_adapter_factory_wrapper.h"
#include "content/browser/child_process_launcher.h"
#include "content/browser/dom_storage/session_storage_namespace_impl.h"
#include "content/browser/power_monitor_message_broadcaster.h"
@@ -47,7 +48,6 @@ class ChannelMojoHost;
namespace content {
class AudioInputRendererHost;
class AudioRendererHost;
-class BluetoothDispatcherHost;
class BrowserCdmManager;
class BrowserDemuxerAndroid;
class InProcessChildThreadParams;
@@ -261,7 +261,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
void GetAudioOutputControllers(
const GetAudioOutputControllersCallback& callback) const override;
- BluetoothDispatcherHost* GetBluetoothDispatcherHost();
+ BluetoothAdapterFactoryWrapper& GetBluetoothAdapterFactoryWrapper();
ncarter (slow) 2016/05/25 21:19:18 This ought to be a pointer, not a ref.
Jeffrey Yasskin 2016/05/25 21:31:02 How come? Your comment is often a misunderstanding
ortuno 2016/05/26 20:31:01 I agree with jyasskin. The reference indicates use
ncarter (slow) 2016/05/26 21:47:35 I agree with you, that it isn't prohibited by the
ncarter (slow) 2016/05/26 22:02:34 Whoops, that last bit possibly came across too pas
ortuno 2016/05/27 02:53:25 Consistency makes sense. I've changed the function
#if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX)
// Launch the zygote early in the browser startup.
@@ -467,7 +467,7 @@ class CONTENT_EXPORT RenderProcessHostImpl
scoped_refptr<AudioInputRendererHost> audio_input_renderer_host_;
- scoped_refptr<BluetoothDispatcherHost> bluetooth_dispatcher_host_;
+ BluetoothAdapterFactoryWrapper bluetooth_adapter_factory_wrapper_;
#if defined(OS_ANDROID)
scoped_refptr<BrowserDemuxerAndroid> browser_demuxer_android_;

Powered by Google App Engine
This is Rietveld 408576698