OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_H_ | 5 #ifndef CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_H_ |
6 #define CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_H_ | 6 #define CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <list> | 10 #include <list> |
11 #include <map> | 11 #include <map> |
| 12 #include <memory> |
12 #include <queue> | 13 #include <queue> |
13 #include <string> | 14 #include <string> |
14 #include <vector> | 15 #include <vector> |
15 | 16 |
16 #include "base/compiler_specific.h" | 17 #include "base/compiler_specific.h" |
17 #include "base/threading/thread_checker.h" | 18 #include "base/threading/thread_checker.h" |
18 #include "base/timer/timer.h" | 19 #include "base/timer/timer.h" |
19 #include "content/common/content_export.h" | 20 #include "content/common/content_export.h" |
20 #include "content/common/gpu/media/avda_state_provider.h" | 21 #include "content/common/gpu/media/avda_state_provider.h" |
21 #include "content/common/gpu/media/gpu_video_decode_accelerator_helpers.h" | 22 #include "content/common/gpu/media/gpu_video_decode_accelerator_helpers.h" |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 | 385 |
385 // WeakPtrFactory for posting tasks back to |this|. | 386 // WeakPtrFactory for posting tasks back to |this|. |
386 base::WeakPtrFactory<AndroidVideoDecodeAccelerator> weak_this_factory_; | 387 base::WeakPtrFactory<AndroidVideoDecodeAccelerator> weak_this_factory_; |
387 | 388 |
388 friend class AndroidVideoDecodeAcceleratorTest; | 389 friend class AndroidVideoDecodeAcceleratorTest; |
389 }; | 390 }; |
390 | 391 |
391 } // namespace content | 392 } // namespace content |
392 | 393 |
393 #endif // CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_H_ | 394 #endif // CONTENT_COMMON_GPU_MEDIA_ANDROID_VIDEO_DECODE_ACCELERATOR_H_ |
OLD | NEW |