Index: content/common/wake_lock_service.mojom |
diff --git a/content/test/data/service_worker/fetch_event_blob.js b/content/common/wake_lock_service.mojom |
similarity index 52% |
copy from content/test/data/service_worker/fetch_event_blob.js |
copy to content/common/wake_lock_service.mojom |
index 8f15e1f1235d0290346920fa79bbebefd9461a1f..9761562cbb667fab736a9603840b45e27663152f 100644 |
--- a/content/test/data/service_worker/fetch_event_blob.js |
+++ b/content/common/wake_lock_service.mojom |
@@ -2,8 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-this.onfetch = function(event) { |
- var blob = new Blob(['<title>Title</title>']); |
- var response = new Response(blob); |
- event.respondWith(response); |
+module content; |
+ |
+// WebLockService receives per-frame wake lock intention from its client |
+interface WakeLockService { |
+ KeepScreenAwake(bool intention); |
Tom Sepez
2015/04/28 16:22:54
Nit: again, mauybe it would be clearer with two me
mlamouri (slow - plz ping)
2015/05/05 14:08:34
+1
|
}; |