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 CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_ |
6 #define CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_ | 6 #define CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "media/mojo/interfaces/service_factory.mojom.h" | 12 #include "media/mojo/interfaces/service_factory.mojom.h" |
13 #include "services/shell/public/interfaces/interface_provider.mojom.h" | 13 #include "services/service_manager/public/interfaces/interface_provider.mojom.h" |
14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
15 | 15 |
16 namespace shell { | 16 namespace shell { |
17 class InterfaceProvider; | 17 class InterfaceProvider; |
18 } | 18 } |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 | 21 |
22 // MediaInterfaceProvider is an implementation of mojo InterfaceProvider that | 22 // MediaInterfaceProvider is an implementation of mojo InterfaceProvider that |
23 // provides media related services and handles disconnection automatically. | 23 // provides media related services and handles disconnection automatically. |
(...skipping 15 matching lines...) Expand all Loading... |
39 base::ThreadChecker thread_checker_; | 39 base::ThreadChecker thread_checker_; |
40 shell::InterfaceProvider* remote_interfaces_; | 40 shell::InterfaceProvider* remote_interfaces_; |
41 media::mojom::ServiceFactoryPtr media_service_factory_; | 41 media::mojom::ServiceFactoryPtr media_service_factory_; |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(MediaInterfaceProvider); | 43 DISALLOW_COPY_AND_ASSIGN(MediaInterfaceProvider); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace content | 46 } // namespace content |
47 | 47 |
48 #endif // CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_ | 48 #endif // CONTENT_RENDERER_MEDIA_MEDIA_INTERFACE_PROVIDER_H_ |
OLD | NEW |