// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_CONTEXT_HOST_H_ #define CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_CONTEXT_HOST_H_ #include "base/memory/raw_ptr.h" #include "content/public/browser/web_contents.h" #include "mojo/public/cpp/bindings/remote.h" #include "services/device/public/mojom/wake_lock_context.mojom.h" #include "services/device/public/mojom/wake_lock_provider.mojom.h" #include "ui/gfx/native_widget_types.h" namespace content { // On Android, WakeLockContext requires the NativeView associated with the // context in order to lock the screen. WakeLockContextHost provides this // functionality by mapping WakeLockContext IDs to the WebContents associated // with those IDs. class WakeLockContextHost { … }; } // namespace content #endif // CONTENT_BROWSER_WAKE_LOCK_WAKE_LOCK_CONTEXT_HOST_H_