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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 1775953004: bluetooth: Move writeValue to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Address scheib's comments Created 4 years, 9 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/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 16d21e608290088b5a8f2d2f6161ed464fe4fe05..0d1465cff4ef1e4aa75d2adc62ba6e594fac5ebc 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -63,6 +63,12 @@ class FilePath;
class ListValue;
}
+namespace blink {
+namespace mojom {
+class WebBluetoothService;
+}
+}
+
namespace content {
class CrossProcessFrameConnector;
@@ -83,6 +89,7 @@ class RenderWidgetHostViewBase;
class ResourceRequestBody;
class StreamHandle;
class TimeoutMonitor;
+class WebBluetoothServiceImpl;
struct ContextMenuParams;
struct GlobalRequestID;
struct Referrer;
@@ -736,6 +743,10 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
FrameTreeNode* FindAndVerifyChild(int32_t child_frame_routing_id,
bad_message::BadMessageReason reason);
+ // Creates a Web Bluetooth Service owned by the frame.
+ void CreateWebBluetoothService(
+ mojo::InterfaceRequest<blink::mojom::WebBluetoothService> request);
+
// Allows tests to disable the swapout event timer to simulate bugs that
// happen before it fires (to avoid flakiness).
void ResetSwapOutTimerForTesting();
@@ -879,6 +890,8 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
scoped_ptr<ServiceRegistryAndroid> service_registry_android_;
#endif
+ scoped_ptr<WebBluetoothServiceImpl> web_bluetooth_service_;
+
// The object managing the accessibility tree for this frame.
scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_;
« no previous file with comments | « content/browser/bluetooth/web_bluetooth_service_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698