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

Unified Diff: content/renderer/bluetooth/web_bluetooth_impl.h

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
Patch Set: . Created 4 years, 6 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 | « content/public/utility/content_utility_client.h ('k') | content/renderer/bluetooth/web_bluetooth_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/bluetooth/web_bluetooth_impl.h
diff --git a/content/renderer/bluetooth/web_bluetooth_impl.h b/content/renderer/bluetooth/web_bluetooth_impl.h
index ba18f0f22f86652e029b3d02faeb295b1ed6c77f..13d7c7b9a184704d660f643063075bedc227ddee 100644
--- a/content/renderer/bluetooth/web_bluetooth_impl.h
+++ b/content/renderer/bluetooth/web_bluetooth_impl.h
@@ -25,11 +25,14 @@ namespace blink {
class WebBluetoothRemoteGATTCharacteristic;
}
+namespace shell {
+class InterfaceProvider;
+}
+
namespace content {
class BluetoothDispatcher;
class ThreadSafeSender;
-class ServiceRegistry;
// Implementation of blink::WebBluetooth. Passes calls through to the thread
// specific BluetoothDispatcher.
@@ -37,7 +40,7 @@ class CONTENT_EXPORT WebBluetoothImpl
: NON_EXPORTED_BASE(public blink::mojom::WebBluetoothServiceClient),
NON_EXPORTED_BASE(public blink::WebBluetooth) {
public:
- WebBluetoothImpl(ServiceRegistry* service_registry);
+ WebBluetoothImpl(shell::InterfaceProvider* remote_interfaces);
~WebBluetoothImpl() override;
// blink::WebBluetooth interface:
@@ -124,7 +127,7 @@ class CONTENT_EXPORT WebBluetoothImpl
const std::vector<uint8_t>& value);
blink::mojom::WebBluetoothService& GetWebBluetoothService();
- ServiceRegistry* const service_registry_;
+ shell::InterfaceProvider* const remote_interfaces_;
blink::mojom::WebBluetoothServicePtr web_bluetooth_service_;
// Map of characteristic_instance_ids to
« no previous file with comments | « content/public/utility/content_utility_client.h ('k') | content/renderer/bluetooth/web_bluetooth_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698