| Index: content/browser/web_contents/web_contents_impl.h
|
| diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
|
| index 9978654a34422637c3204e7771c975e740d3b29c..dd2468a7205ee51914a2e20fc9b0fb3a3ba3aed8 100644
|
| --- a/content/browser/web_contents/web_contents_impl.h
|
| +++ b/content/browser/web_contents/web_contents_impl.h
|
| @@ -31,6 +31,7 @@
|
| #include "content/browser/renderer_host/render_view_host_delegate.h"
|
| #include "content/browser/renderer_host/render_view_host_impl.h"
|
| #include "content/browser/renderer_host/render_widget_host_delegate.h"
|
| +#include "content/browser/wake_lock/wake_lock_context_host.h"
|
| #include "content/common/accessibility_mode.h"
|
| #include "content/common/content_export.h"
|
| #include "content/public/browser/color_chooser.h"
|
| @@ -42,6 +43,7 @@
|
| #include "content/public/common/renderer_preferences.h"
|
| #include "content/public/common/resource_type.h"
|
| #include "content/public/common/three_d_api_types.h"
|
| +#include "device/wake_lock/public/interfaces/wake_lock_context.mojom.h"
|
| #include "net/base/load_states.h"
|
| #include "net/http/http_response_headers.h"
|
| #include "ppapi/features/features.h"
|
| @@ -77,7 +79,6 @@ class ScreenOrientationProvider;
|
| class SiteInstance;
|
| class TestWebContents;
|
| class TextInputManager;
|
| -class WakeLockServiceContext;
|
| class WebContentsAudioMuter;
|
| class WebContentsBindingSet;
|
| class WebContentsDelegate;
|
| @@ -483,7 +484,7 @@ class CONTENT_EXPORT WebContentsImpl
|
| RenderFrameHost* render_frame_host,
|
| int browser_plugin_instance_id) override;
|
| device::GeolocationServiceContext* GetGeolocationServiceContext() override;
|
| - device::WakeLockServiceContext* GetWakeLockServiceContext() override;
|
| + device::mojom::WakeLockContext* GetWakeLockServiceContext() override;
|
| void EnterFullscreenMode(const GURL& origin) override;
|
| void ExitFullscreenMode(bool will_cause_resize) override;
|
| bool ShouldRouteMessageEvent(
|
| @@ -1468,7 +1469,7 @@ class CONTENT_EXPORT WebContentsImpl
|
| std::unique_ptr<device::GeolocationServiceContext>
|
| geolocation_service_context_;
|
|
|
| - std::unique_ptr<device::WakeLockServiceContext> wake_lock_service_context_;
|
| + std::unique_ptr<WakeLockContextHost> wake_lock_context_host_;
|
|
|
| std::unique_ptr<ScreenOrientationProvider> screen_orientation_provider_;
|
|
|
|
|