Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1802)

Unified Diff: content/common/wake_lock_service.mojom

Issue 1107333002: Wake Lock API implementation (Chromium part) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/wake_lock_service.mojom
diff --git a/content/public/common/service_worker_event_status.mojom b/content/common/wake_lock_service.mojom
similarity index 56%
copy from content/public/common/service_worker_event_status.mojom
copy to content/common/wake_lock_service.mojom
index 020d0e82e88cbb9dd52b2cf53651b629136a8910..1f709178b6d200fa90b14ba37ea73da44c7fc9c7 100644
--- a/content/public/common/service_worker_event_status.mojom
+++ b/content/common/wake_lock_service.mojom
@@ -4,9 +4,8 @@
module content;
-enum ServiceWorkerEventStatus {
- COMPLETED,
- REJECTED,
- ABORTED,
- MAX=ABORTED
+// WebLockService receives per-frame wake lock preference from its client
mlamouri (slow - plz ping) 2015/08/21 10:03:35 nit: you can use git cl upload --no-find-copies to
alogvinov 2015/08/26 14:47:19 Acknowledged.
+interface WakeLockService {
+ RequestWakeLock();
+ CancelWakeLock();
};

Powered by Google App Engine
This is Rietveld 408576698