Index: mojo/services/media/common/interfaces/media_metadata.mojom |
diff --git a/mojo/services/media/common/interfaces/media_metadata.mojom b/mojo/services/media/common/interfaces/media_metadata.mojom |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1cbe88cd241e57e8e4c3c3f3cf24f1211f5fd43f |
--- /dev/null |
+++ b/mojo/services/media/common/interfaces/media_metadata.mojom |
@@ -0,0 +1,24 @@ |
+// 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; |
+ |
+// Describes media. |
+struct MediaMetadata { |
+ // Duration in nanoseconds. |
+ uint64 duration; |
johngro
2015/12/10 21:46:02
do we need some way to indicate an unknown duratio
dalesat
2015/12/10 22:33:38
We might. I'd like to address that when it comes u
|
+ |
+ string? title; |
+ |
+ string? artist; |
+ |
+ string? album; |
+ |
+ string? publisher; |
+ |
+ string? genre; |
+ |
+ string? composer; |
+}; |