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_ANDROID_MEDIA_PLAYER_RENDERER_CLIENT_FACTORY_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_PLAYER_RENDERER_CLIENT_FACTORY_H_ |
6 #define CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_PLAYER_RENDERER_CLIENT_FACTORY_H_ | 6 #define CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_PLAYER_RENDERER_CLIENT_FACTORY_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/single_thread_task_runner.h" |
10 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
11 #include "media/base/android/stream_texture_wrapper.h" | 12 #include "media/base/android/stream_texture_wrapper.h" |
12 #include "media/base/renderer_factory.h" | 13 #include "media/base/renderer_factory.h" |
13 #include "media/mojo/clients/mojo_renderer_factory.h" | 14 #include "media/mojo/clients/mojo_renderer_factory.h" |
14 #include "mojo/public/cpp/bindings/interface_request.h" | 15 #include "mojo/public/cpp/bindings/interface_request.h" |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 | 18 |
18 // The default class for creating a MediaPlayerRendererClient | 19 // The default class for creating a MediaPlayerRendererClient |
19 // and its associated MediaPlayerRenderer. | 20 // and its associated MediaPlayerRenderer. |
(...skipping 23 matching lines...) Expand all Loading... |
43 GetStreamTextureWrapperCB get_stream_texture_wrapper_cb_; | 44 GetStreamTextureWrapperCB get_stream_texture_wrapper_cb_; |
44 | 45 |
45 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; | 46 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; |
46 | 47 |
47 std::unique_ptr<media::RendererFactory> mojo_renderer_factory_; | 48 std::unique_ptr<media::RendererFactory> mojo_renderer_factory_; |
48 }; | 49 }; |
49 | 50 |
50 } // namespace content | 51 } // namespace content |
51 | 52 |
52 #endif // CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_PLAYER_RENDERER_CLIENT_FACTORY_H
_ | 53 #endif // CONTENT_RENDERER_MEDIA_ANDROID_MEDIA_PLAYER_RENDERER_CLIENT_FACTORY_H
_ |
OLD | NEW |