OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ | 5 #ifndef MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ |
6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ | 6 #define MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/callback.h" | 12 #include "base/callback.h" |
13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "media/mojo/interfaces/media_service.mojom.h" | 15 #include "media/mojo/interfaces/media_service.mojom.h" |
16 #include "media/mojo/interfaces/service_factory.mojom.h" | 16 #include "media/mojo/interfaces/service_factory.mojom.h" |
17 #include "media/mojo/services/media_mojo_export.h" | 17 #include "media/mojo/services/media_mojo_export.h" |
18 #include "mojo/public/cpp/bindings/binding_set.h" | 18 #include "mojo/public/cpp/bindings/binding_set.h" |
19 #include "services/shell/public/cpp/interface_factory.h" | 19 #include "services/service_manager/public/cpp/interface_factory.h" |
20 #include "services/shell/public/cpp/service.h" | 20 #include "services/service_manager/public/cpp/service.h" |
21 #include "services/shell/public/cpp/service_context_ref.h" | 21 #include "services/service_manager/public/cpp/service_context_ref.h" |
22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
23 | 23 |
24 namespace media { | 24 namespace media { |
25 | 25 |
26 class MediaLog; | 26 class MediaLog; |
27 class MojoMediaClient; | 27 class MojoMediaClient; |
28 | 28 |
29 class MEDIA_MOJO_EXPORT MojoMediaApplication | 29 class MEDIA_MOJO_EXPORT MojoMediaApplication |
30 : public NON_EXPORTED_BASE(shell::Service), | 30 : public NON_EXPORTED_BASE(shell::Service), |
31 public NON_EXPORTED_BASE(shell::InterfaceFactory<mojom::MediaService>), | 31 public NON_EXPORTED_BASE(shell::InterfaceFactory<mojom::MediaService>), |
(...skipping 26 matching lines...) Expand all Loading... |
58 | 58 |
59 scoped_refptr<MediaLog> media_log_; | 59 scoped_refptr<MediaLog> media_log_; |
60 shell::ServiceContextRefFactory ref_factory_; | 60 shell::ServiceContextRefFactory ref_factory_; |
61 | 61 |
62 mojo::BindingSet<mojom::MediaService> bindings_; | 62 mojo::BindingSet<mojom::MediaService> bindings_; |
63 }; | 63 }; |
64 | 64 |
65 } // namespace media | 65 } // namespace media |
66 | 66 |
67 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ | 67 #endif // MEDIA_MOJO_SERVICES_MOJO_MEDIA_APPLICATION_H_ |
OLD | NEW |