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

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: Moar clean up 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 885258c81657b8c1577eacaaade793d9b579287a..52c2f02e4267c94c98b4b9f383b87d962d3058f6 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -23,6 +23,7 @@
#include "build/build_config.h"
#include "content/browser/accessibility/browser_accessibility_manager.h"
#include "content/browser/bad_message.h"
+#include "content/browser/bluetooth/web_bluetooth_service_impl.h"
#include "content/browser/loader/global_routing_id.h"
#include "content/browser/site_instance_impl.h"
#include "content/browser/webui/web_ui_impl.h"
@@ -738,6 +739,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(
+ blink::mojom::WebBluetoothServiceRequest request);
+
// For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
// refcount that calls Shutdown when it reaches zero. This allows each
// RenderFrameHostManager to just care about RenderFrameHosts, while ensuring
@@ -877,6 +882,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_;

Powered by Google App Engine
This is Rietveld 408576698