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

Side by Side Diff: services/media/framework/models/active_source.h

Issue 2097953002: Motown: Rename MediaProducer/Consumer to MediaPacketProducer/Consumer (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixed #ifndef guards Created 4 years, 5 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
« no previous file with comments | « services/media/framework/models/active_sink.h ('k') | services/media/framework/models/demand.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef MOJO_MEDIA_MODELS_ACTIVE_SOURCE_H_ 5 #ifndef SERVICES_MEDIA_FRAMEWORK_MODELS_ACTIVE_SOURCE_H_
6 #define MOJO_MEDIA_MODELS_ACTIVE_SOURCE_H_ 6 #define SERVICES_MEDIA_FRAMEWORK_MODELS_ACTIVE_SOURCE_H_
7 7
8 #include "services/media/framework/models/demand.h" 8 #include "services/media/framework/models/demand.h"
9 #include "services/media/framework/models/part.h" 9 #include "services/media/framework/models/part.h"
10 #include "services/media/framework/packet.h" 10 #include "services/media/framework/packet.h"
11 #include "services/media/framework/payload_allocator.h" 11 #include "services/media/framework/payload_allocator.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace media { 14 namespace media {
15 15
16 // Source that produces packets asynchronously. 16 // Source that produces packets asynchronously.
(...skipping 12 matching lines...) Expand all
29 // Sets the callback that supplies a packet asynchronously. 29 // Sets the callback that supplies a packet asynchronously.
30 virtual void SetSupplyCallback(const SupplyCallback& supply_callback) = 0; 30 virtual void SetSupplyCallback(const SupplyCallback& supply_callback) = 0;
31 31
32 // Sets the demand signalled from downstream. 32 // Sets the demand signalled from downstream.
33 virtual void SetDownstreamDemand(Demand demand) = 0; 33 virtual void SetDownstreamDemand(Demand demand) = 0;
34 }; 34 };
35 35
36 } // namespace media 36 } // namespace media
37 } // namespace mojo 37 } // namespace mojo
38 38
39 #endif // MOJO_MEDIA_MODELS_ACTIVE_SOURCE_H_ 39 #endif // SERVICES_MEDIA_FRAMEWORK_MODELS_ACTIVE_SOURCE_H_
OLDNEW
« no previous file with comments | « services/media/framework/models/active_sink.h ('k') | services/media/framework/models/demand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698