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

Side by Side Diff: mojo/services/media/control/interfaces/media_source.mojom

Issue 1741963002: Auto-formatted all .mojom files. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo.media; 6 module mojo.media;
7 7
8 import "mojo/services/media/common/interfaces/media_clock.mojom"; 8 import "mojo/services/media/common/interfaces/media_clock.mojom";
9 import "mojo/services/media/common/interfaces/media_common.mojom"; 9 import "mojo/services/media/common/interfaces/media_common.mojom";
10 import "mojo/services/media/common/interfaces/media_metadata.mojom"; 10 import "mojo/services/media/common/interfaces/media_metadata.mojom";
(...skipping 21 matching lines...) Expand all
32 32
33 // Gets the producer for the specified stream. 33 // Gets the producer for the specified stream.
34 GetProducer(uint32 stream_index, MediaProducer& producer); 34 GetProducer(uint32 stream_index, MediaProducer& producer);
35 35
36 // Gets the pull mode producer for the specified stream. 36 // Gets the pull mode producer for the specified stream.
37 GetPullModeProducer(uint32 stream_index, MediaPullModeProducer& producer); 37 GetPullModeProducer(uint32 stream_index, MediaPullModeProducer& producer);
38 38
39 // Gets the status. To get the status immediately, call 39 // Gets the status. To get the status immediately, call
40 // GetStatus(kInitialStatus). To get updates thereafter, pass the version 40 // GetStatus(kInitialStatus). To get updates thereafter, pass the version
41 // sent in the previous callback. 41 // sent in the previous callback.
42 GetStatus(uint64 version_last_seen) => 42 GetStatus(uint64 version_last_seen)
43 (uint64 version, MediaSourceStatus status); 43 => (uint64 version, MediaSourceStatus status);
44 44
45 // Prepares the source. 45 // Prepares the source.
46 Prepare() => (); 46 Prepare() => ();
47 47
48 // Primes the source and downstream components. 48 // Primes the source and downstream components.
49 Prime() => (); 49 Prime() => ();
50 50
51 // Flushes the source and downstream components. 51 // Flushes the source and downstream components.
52 Flush() => (); 52 Flush() => ();
53 53
(...skipping 14 matching lines...) Expand all
68 }; 68 };
69 69
70 // Describes the media source. 70 // Describes the media source.
71 struct MediaSourceStatus { 71 struct MediaSourceStatus {
72 // Current state of the source. 72 // Current state of the source.
73 MediaState state; 73 MediaState state;
74 74
75 // Describes the media. 75 // Describes the media.
76 MediaMetadata? metadata; 76 MediaMetadata? metadata;
77 }; 77 };
OLDNEW
« no previous file with comments | « mojo/services/media/control/interfaces/media_sink.mojom ('k') | mojo/services/native_support/interfaces/process.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698