Index: content/common/wake_lock_service.mojom |
diff --git a/content/common/wake_lock_service.mojom b/content/common/wake_lock_service.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3d6e6d896c908fce6245cc38f6fb8596fdceef52 |
--- /dev/null |
+++ b/content/common/wake_lock_service.mojom |
@@ -0,0 +1,11 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+module content; |
+ |
+// WebLockService receives per-frame wake lock preference from its client. |
+interface WakeLockService { |
+ RequestWakeLock(); |
+ CancelWakeLock(); |
+}; |