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_STREAM_TEXTURE_WRAPPER_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_WRAPPER_IMPL_H_ |
6 #define CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_WRAPPER_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_WRAPPER_IMPL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
| 10 #include "base/single_thread_task_runner.h" |
10 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
11 #include "content/renderer/media/android/stream_texture_factory.h" | 12 #include "content/renderer/media/android/stream_texture_factory.h" |
12 #include "gpu/command_buffer/common/mailbox.h" | 13 #include "gpu/command_buffer/common/mailbox.h" |
13 #include "media/base/android/stream_texture_wrapper.h" | 14 #include "media/base/android/stream_texture_wrapper.h" |
14 #include "media/base/video_frame.h" | 15 #include "media/base/video_frame.h" |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 | 18 |
18 // Concrete implementation of StreamTextureWrapper. Any method can be called on | 19 // Concrete implementation of StreamTextureWrapper. Any method can be called on |
19 // any thread, but additional threading considerations are listed in the | 20 // any thread, but additional threading considerations are listed in the |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; | 125 scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_; |
125 | 126 |
126 base::WeakPtrFactory<StreamTextureWrapperImpl> weak_factory_; | 127 base::WeakPtrFactory<StreamTextureWrapperImpl> weak_factory_; |
127 | 128 |
128 DISALLOW_COPY_AND_ASSIGN(StreamTextureWrapperImpl); | 129 DISALLOW_COPY_AND_ASSIGN(StreamTextureWrapperImpl); |
129 }; | 130 }; |
130 | 131 |
131 } // namespace media | 132 } // namespace media |
132 | 133 |
133 #endif // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_WRAPPER_IMPL_H_ | 134 #endif // CONTENT_RENDERER_MEDIA_ANDROID_STREAM_TEXTURE_WRAPPER_IMPL_H_ |
OLD | NEW |