| 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 SERVICES_MEDIA_FACTORY_SERVICE_FACTORY_SERVICE_H_ |
| 6 #define MOJO_SERVICES_MEDIA_FACTORY_FACTORY_SERVICE_H_ | 6 #define SERVICES_MEDIA_FACTORY_SERVICE_FACTORY_SERVICE_H_ |
| 7 | 7 |
| 8 #include "mojo/common/binding_set.h" | 8 #include "mojo/common/binding_set.h" |
| 9 #include "mojo/services/media/control/interfaces/media_factory.mojom.h" | 9 #include "mojo/services/media/control/interfaces/media_factory.mojom.h" |
| 10 #include "services/util/cpp/factory_service_base.h" | 10 #include "services/util/cpp/factory_service_base.h" |
| 11 | 11 |
| 12 namespace mojo { | 12 namespace mojo { |
| 13 namespace media { | 13 namespace media { |
| 14 | 14 |
| 15 class MediaFactoryService : public util::FactoryServiceBase, | 15 class MediaFactoryService : public util::FactoryServiceBase, |
| 16 public MediaFactory { | 16 public MediaFactory { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 void CreateTimelineController( | 48 void CreateTimelineController( |
| 49 InterfaceRequest<MediaTimelineController> timeline_controller) override; | 49 InterfaceRequest<MediaTimelineController> timeline_controller) override; |
| 50 | 50 |
| 51 private: | 51 private: |
| 52 BindingSet<MediaFactory> bindings_; | 52 BindingSet<MediaFactory> bindings_; |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } // namespace media | 55 } // namespace media |
| 56 } // namespace mojo | 56 } // namespace mojo |
| 57 | 57 |
| 58 #endif // MOJO_SERVICES_MEDIA_FACTORY_FACTORY_SERVICE_H_ | 58 #endif // SERVICES_MEDIA_FACTORY_SERVICE_FACTORY_SERVICE_H_ |
| OLD | NEW |