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_SERVICES_MEDIA_FACTORY_FACTORY_SERVICE_H_ | 5 #ifndef MOJO_SERVICES_MEDIA_FACTORY_FACTORY_SERVICE_H_ |
6 #define MOJO_SERVICES_MEDIA_FACTORY_FACTORY_SERVICE_H_ | 6 #define MOJO_SERVICES_MEDIA_FACTORY_FACTORY_SERVICE_H_ |
7 | 7 |
8 #include "mojo/common/binding_set.h" | 8 #include "mojo/common/binding_set.h" |
9 #include "mojo/public/cpp/application/application_delegate.h" | 9 #include "mojo/public/cpp/application/application_delegate.h" |
10 #include "mojo/public/cpp/application/application_impl.h" | 10 #include "mojo/public/cpp/application/application_impl.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 void CreateDemux(InterfaceHandle<SeekingReader> reader, | 40 void CreateDemux(InterfaceHandle<SeekingReader> reader, |
41 InterfaceRequest<MediaDemux> demux) override; | 41 InterfaceRequest<MediaDemux> demux) override; |
42 | 42 |
43 void CreateDecoder(MediaTypePtr input_media_type, | 43 void CreateDecoder(MediaTypePtr input_media_type, |
44 InterfaceRequest<MediaTypeConverter> decoder) override; | 44 InterfaceRequest<MediaTypeConverter> decoder) override; |
45 | 45 |
46 void CreateNetworkReader(const String& url, | 46 void CreateNetworkReader(const String& url, |
47 InterfaceRequest<SeekingReader> reader) override; | 47 InterfaceRequest<SeekingReader> reader) override; |
48 | 48 |
| 49 void CreateTimelineController( |
| 50 InterfaceRequest<MediaTimelineController> timeline_controller) override; |
| 51 |
49 private: | 52 private: |
50 BindingSet<MediaFactory> bindings_; | 53 BindingSet<MediaFactory> bindings_; |
51 }; | 54 }; |
52 | 55 |
53 } // namespace media | 56 } // namespace media |
54 } // namespace mojo | 57 } // namespace mojo |
55 | 58 |
56 #endif // MOJO_SERVICES_MEDIA_FACTORY_FACTORY_SERVICE_H_ | 59 #endif // MOJO_SERVICES_MEDIA_FACTORY_FACTORY_SERVICE_H_ |
OLD | NEW |