| OLD | NEW |
| 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_MULTISTREAM_SOURCE_H_ | 5 #ifndef SERVICES_MEDIA_FRAMEWORK_MODELS_ACTIVE_MULTISTREAM_SOURCE_H_ |
| 6 #define MOJO_MEDIA_MODELS_ACTIVE_MULTISTREAM_SOURCE_H_ | 6 #define SERVICES_MEDIA_FRAMEWORK_MODELS_ACTIVE_MULTISTREAM_SOURCE_H_ |
| 7 | 7 |
| 8 #include "services/media/framework/models/part.h" | 8 #include "services/media/framework/models/part.h" |
| 9 #include "services/media/framework/packet.h" | 9 #include "services/media/framework/packet.h" |
| 10 | 10 |
| 11 namespace mojo { | 11 namespace mojo { |
| 12 namespace media { | 12 namespace media { |
| 13 | 13 |
| 14 // Asynchronous source of packets for multiple streams. | 14 // Asynchronous source of packets for multiple streams. |
| 15 class ActiveMultistreamSource : public Part { | 15 class ActiveMultistreamSource : public Part { |
| 16 public: | 16 public: |
| (...skipping 11 matching lines...) Expand all Loading... |
| 28 virtual void SetSupplyCallback(const SupplyCallback& supply_callback) = 0; | 28 virtual void SetSupplyCallback(const SupplyCallback& supply_callback) = 0; |
| 29 | 29 |
| 30 // Requests a packet from the source to be supplied asynchronously via | 30 // Requests a packet from the source to be supplied asynchronously via |
| 31 // the supply callback. | 31 // the supply callback. |
| 32 virtual void RequestPacket() = 0; | 32 virtual void RequestPacket() = 0; |
| 33 }; | 33 }; |
| 34 | 34 |
| 35 } // namespace media | 35 } // namespace media |
| 36 } // namespace mojo | 36 } // namespace mojo |
| 37 | 37 |
| 38 #endif // MOJO_MEDIA_MODELS_ACTIVE_MULTISTREAM_SOURCE_H_ | 38 #endif // SERVICES_MEDIA_FRAMEWORK_MODELS_ACTIVE_MULTISTREAM_SOURCE_H_ |
| OLD | NEW |