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

Unified Diff: device/wake_lock/public/interfaces/wake_lock.typemap

Issue 2867303003: Generalize the API of WakeLockContext mojo interface. (Closed)
Patch Set: Created 3 years, 7 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.typemap
diff --git a/device/wake_lock/public/interfaces/wake_lock.typemap b/device/wake_lock/public/interfaces/wake_lock.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..2d4b188f332253cb7c78705dbdfd0d2356b04655
--- /dev/null
+++ b/device/wake_lock/public/interfaces/wake_lock.typemap
@@ -0,0 +1,18 @@
+# Copyright 2017 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.
+
+mojom = "//device/wake_lock/public/interfaces/wake_lock_context.mojom"
+public_headers = [ "//device/power_save_blocker/power_save_blocker.h" ]
+traits_headers =
+ [ "//device/wake_lock/public/interfaces/wake_lock_param_traits.h" ]
+sources = [
+ "//device/wake_lock/public/interfaces/wake_lock_param_traits.cc",
+]
+deps = [
+ "//device/power_save_blocker",
+]
+type_mappings = [
+ "device.mojom.WakeLockType=device::PowerSaveBlocker::PowerSaveBlockerType",
+ "device.mojom.WakeLockReason=device::PowerSaveBlocker::Reason",
+]

Powered by Google App Engine
This is Rietveld 408576698