Chromium Code Reviews| 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 9c447275d21f22286612fab8e7f5dd74ad85f37f..5fd2bc54f517db22af4669175383aae8cedc4fb2 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" |
|
Jeffrey Yasskin
2016/03/29 20:30:02
You only need a forward declaration in the header,
ortuno
2016/03/29 22:14:04
Done.
|
| #include "content/browser/loader/global_routing_id.h" |
| #include "content/browser/site_instance_impl.h" |
| #include "content/browser/webui/web_ui_impl.h" |
| @@ -733,6 +734,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 |
| @@ -872,6 +877,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_; |