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

Unified Diff: mojo/services/media/common/interfaces/media_clock.mojom

Issue 1509323002: Mojom updates for Motown. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: sync 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: mojo/services/media/common/interfaces/media_clock.mojom
diff --git a/mojo/services/media/common/interfaces/media_clock.mojom b/mojo/services/media/common/interfaces/media_clock.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..8fdb1046fe1a551954824326c5ec75376fb14538
--- /dev/null
+++ b/mojo/services/media/common/interfaces/media_clock.mojom
@@ -0,0 +1,32 @@
+// Copyright 2015 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.
+
+[DartPackage="mojo_services"]
+module mojo.media;
+
+// Expresses a component's disposition with respect to being a clock master or
+// slave.
+enum ClockDisposition {
+ // Clocks are irrelevant. Component will produce/consume on demand.
+ PASSIVE,
+
+ // Component must slave to a master clock.
+ SLAVE,
+
+ // Component can be master or slave, but being slave is preferred.
+ PREFER_SLAVE,
+
+ // Component can be master or slave, doesn't care which.
+ INDIFFERENT,
+
+ // Component can be master or slave, but master is preferred.
+ PREFER_MASTER,
+
+ // Component must be master and cannot slave to a master clock.
+ MASTER
+};
+
+interface Clock {
+ // TODO(dalesat): Define this.
+};
« no previous file with comments | « mojo/services/media/common/interfaces/BUILD.gn ('k') | mojo/services/media/common/interfaces/media_common.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698