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

Unified Diff: device/wake_lock/public/interfaces/wake_lock_service_context.mojom

Issue 2734943003: Device Service: Decouple Wake Lock from //content (Closed)
Patch Set: Bugfix Created 3 years, 9 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: device/wake_lock/public/interfaces/wake_lock_service_context.mojom
diff --git a/device/wake_lock/public/interfaces/wake_lock_service_context.mojom b/device/wake_lock/public/interfaces/wake_lock_service_context.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..db93a7ae525dcc983ae7b1fdf2a0ad4b4e5d947e
--- /dev/null
+++ b/device/wake_lock/public/interfaces/wake_lock_service_context.mojom
@@ -0,0 +1,13 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
Ken Rockot(use gerrit already) 2017/03/10 16:23:25 2017
blundell 2017/03/15 11:06:11 Done.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module device.mojom;
+
+import "device/wake_lock/public/interfaces/wake_lock_service.mojom";
+
+interface WakeLockServiceContext {
Ken Rockot(use gerrit already) 2017/03/10 16:23:25 If we're going to do this, as discussed offline I'
blundell 2017/03/15 11:06:11 Done.
+ SetContextID(int32 context_id);
+ BindWakeLock(WakeLockService& wake_lock);
+ HasWakeLockForTests() => (bool result);
+};

Powered by Google App Engine
This is Rietveld 408576698