| 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 95e79995887e1ea527f46cae7317eb1b4f839f00..748567856514dce3ac0c095a1403bfc4af6b2f7d 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -44,12 +44,14 @@
|
| #include "content/public/browser/render_frame_host.h"
|
| #include "content/public/common/javascript_dialog_type.h"
|
| #include "content/public/common/previews_state.h"
|
| +#include "device/wake_lock/public/interfaces/wake_lock_context.mojom.h"
|
| #include "media/mojo/interfaces/interface_factory.mojom.h"
|
| #include "mojo/public/cpp/bindings/binding_set.h"
|
| #include "mojo/public/cpp/system/data_pipe.h"
|
| #include "net/http/http_response_headers.h"
|
| #include "third_party/WebKit/public/platform/WebFocusType.h"
|
| #include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
|
| +#include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom.h"
|
| #include "third_party/WebKit/public/web/WebTextDirection.h"
|
| #include "third_party/WebKit/public/web/WebTreeScopeType.h"
|
| #include "ui/accessibility/ax_node_data.h"
|
| @@ -72,12 +74,6 @@ namespace base {
|
| class ListValue;
|
| }
|
|
|
| -namespace blink {
|
| -namespace mojom {
|
| -class WebBluetoothService;
|
| -}
|
| -}
|
| -
|
| namespace gfx {
|
| class Range;
|
| }
|
| @@ -903,7 +899,8 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| // Creates Web Bluetooth Service owned by the frame. Returns a raw pointer
|
| // to it.
|
| WebBluetoothServiceImpl* CreateWebBluetoothService(
|
| - mojo::InterfaceRequest<blink::mojom::WebBluetoothService> request);
|
| + const service_manager::BindSourceInfo& source_info,
|
| + blink::mojom::WebBluetoothServiceRequest request);
|
|
|
| // Deletes the Web Bluetooth Service owned by the frame.
|
| void DeleteWebBluetoothService(
|
| @@ -916,6 +913,10 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| // Callback for connection error on the media::mojom::InterfaceFactory client.
|
| void OnMediaInterfaceFactoryConnectionError();
|
|
|
| + void BindWakeLockServiceRequest(
|
| + const service_manager::BindSourceInfo& source_info,
|
| + device::mojom::WakeLockServiceRequest request);
|
| +
|
| // service_manager::mojom::InterfaceProvider:
|
| void GetInterface(const std::string& interface_name,
|
| mojo::ScopedMessagePipeHandle interface_pipe) override;
|
|
|