| Index: device/wake_lock/wake_lock_service_context.h
|
| diff --git a/device/wake_lock/wake_lock_service_context.h b/device/wake_lock/wake_lock_service_context.h
|
| index f5c5fd9c312f60a6ec20ba29a70f1fdc5777b74a..3c3eda640f833453e1754726ba65fe685f6aa43f 100644
|
| --- a/device/wake_lock/wake_lock_service_context.h
|
| +++ b/device/wake_lock/wake_lock_service_context.h
|
| @@ -16,6 +16,8 @@
|
|
|
| namespace device {
|
|
|
| +class PowerSaveBlocker;
|
| +
|
| // Callback that maps a context ID to the NativeView associated with
|
| // that context. This callback is provided to the Device Service by its
|
| // embedder.
|
| @@ -31,7 +33,10 @@ class WakeLockServiceContext : public mojom::WakeLockContext {
|
| ~WakeLockServiceContext() override;
|
|
|
| // mojom::WakeLockContext:
|
| - void GetWakeLock(mojom::WakeLockServiceRequest request) override;
|
| + void GetWakeLock(device::PowerSaveBlocker::PowerSaveBlockerType type,
|
| + device::PowerSaveBlocker::Reason reason,
|
| + const std::string& description,
|
| + mojom::WakeLockServiceRequest request) override;
|
|
|
| private:
|
| scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_;
|
|
|