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

Unified Diff: components/arc/common/power.mojom

Issue 1618963006: Mojo C++ bindings: support enum validation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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: components/arc/common/power.mojom
diff --git a/components/arc/common/power.mojom b/components/arc/common/power.mojom
index b1cfbae41a746ae1c30982e74fcc8892e0f07687..22792e29fec5e847e5bb525ba539535674f949d4 100644
--- a/components/arc/common/power.mojom
+++ b/components/arc/common/power.mojom
@@ -6,6 +6,7 @@ module arc;
// Enumerates the types of wake lock the ARC instance can request from the
// host.
+[Extensible=True]
enum DisplayWakeLockType {
// Does not allow the screen to dim, turn off, or lock; prevents
// idle suspend.
« no previous file with comments | « components/arc/common/net.mojom ('k') | mojo/android/javatests/src/org/chromium/mojo/bindings/ValidationTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698