Chromium Code Reviews| Index: device/wake_lock/public/interfaces/wake_lock_service.mojom |
| diff --git a/device/wake_lock/public/interfaces/wake_lock_service.mojom b/device/wake_lock/public/interfaces/wake_lock_service.mojom |
| index 8c6e7a494c0f32fd97537713ab2222585860d65f..c526f5ec2dbd5bee8b7a92ecc5dc0a367afffb63 100644 |
| --- a/device/wake_lock/public/interfaces/wake_lock_service.mojom |
| +++ b/device/wake_lock/public/interfaces/wake_lock_service.mojom |
| @@ -8,4 +8,8 @@ module device.mojom; |
| interface WakeLockService { |
| RequestWakeLock(); |
| CancelWakeLock(); |
| + AddClient(WakeLockService& wake_lock); |
|
blundell
2017/05/04 15:40:50
Let's document all 3 of these methods.
ke.he
2017/05/05 08:58:00
Done.
|
| + |
| + // Test-only method that returns whethere a wake lock is currently active. |
|
blundell
2017/05/04 15:40:50
nit: s/whethere/whether
ke.he
2017/05/05 08:58:00
Done.
|
| + HasWakeLockForTests() => (bool result); |
| }; |