| 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 MEDIA_GPU_AVDA_CODEC_ALLOCATOR_H_ | 5 #ifndef MEDIA_GPU_AVDA_CODEC_ALLOCATOR_H_ |
| 6 #define MEDIA_GPU_AVDA_CODEC_ALLOCATOR_H_ | 6 #define MEDIA_GPU_AVDA_CODEC_ALLOCATOR_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "base/android/build_info.h" | 12 #include "base/android/build_info.h" |
| 13 #include "base/bind.h" | 13 #include "base/bind.h" |
| 14 #include "base/logging.h" | 14 #include "base/logging.h" |
| 15 #include "base/message_loop/message_loop.h" |
| 15 #include "base/optional.h" | 16 #include "base/optional.h" |
| 16 #include "base/synchronization/waitable_event.h" | 17 #include "base/synchronization/waitable_event.h" |
| 17 #include "base/sys_info.h" | 18 #include "base/sys_info.h" |
| 18 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
| 19 #include "base/threading/thread_checker.h" | 20 #include "base/threading/thread_checker.h" |
| 20 #include "base/time/tick_clock.h" | 21 #include "base/time/tick_clock.h" |
| 21 #include "base/trace_event/trace_event.h" | 22 #include "base/trace_event/trace_event.h" |
| 22 #include "media/base/android/android_overlay.h" | 23 #include "media/base/android/android_overlay.h" |
| 23 #include "media/base/android/media_codec_bridge_impl.h" | 24 #include "media/base/android/media_codec_bridge_impl.h" |
| 24 #include "media/base/android/media_drm_bridge_cdm_context.h" | 25 #include "media/base/android/media_drm_bridge_cdm_context.h" |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 | 239 |
| 239 // For canceling pending StopThreadTask()s. | 240 // For canceling pending StopThreadTask()s. |
| 240 base::WeakPtrFactory<AVDACodecAllocator> weak_this_factory_; | 241 base::WeakPtrFactory<AVDACodecAllocator> weak_this_factory_; |
| 241 | 242 |
| 242 DISALLOW_COPY_AND_ASSIGN(AVDACodecAllocator); | 243 DISALLOW_COPY_AND_ASSIGN(AVDACodecAllocator); |
| 243 }; | 244 }; |
| 244 | 245 |
| 245 } // namespace media | 246 } // namespace media |
| 246 | 247 |
| 247 #endif // MEDIA_GPU_AVDA_CODEC_ALLOCATOR_H_ | 248 #endif // MEDIA_GPU_AVDA_CODEC_ALLOCATOR_H_ |
| OLD | NEW |