OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BASE_ANDROID_MEDIA_CODEC_DECODER_H_ | 5 #ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_DECODER_H_ |
6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_DECODER_H_ | 6 #define MEDIA_BASE_ANDROID_MEDIA_CODEC_DECODER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/android/scoped_java_ref.h" | 10 #include "base/android/scoped_java_ref.h" |
9 #include "base/callback.h" | 11 #include "base/callback.h" |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
14 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
15 #include "base/threading/thread.h" | 17 #include "base/threading/thread.h" |
16 #include "base/time/time.h" | 18 #include "base/time/time.h" |
17 #include "media/base/android/access_unit_queue.h" | 19 #include "media/base/android/access_unit_queue.h" |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 | 455 |
454 // NOTE: Weak pointers must be invalidated before all other member variables. | 456 // NOTE: Weak pointers must be invalidated before all other member variables. |
455 base::WeakPtrFactory<MediaCodecDecoder> weak_factory_; | 457 base::WeakPtrFactory<MediaCodecDecoder> weak_factory_; |
456 | 458 |
457 DISALLOW_COPY_AND_ASSIGN(MediaCodecDecoder); | 459 DISALLOW_COPY_AND_ASSIGN(MediaCodecDecoder); |
458 }; | 460 }; |
459 | 461 |
460 } // namespace media | 462 } // namespace media |
461 | 463 |
462 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_DECODER_H_ | 464 #endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_DECODER_H_ |
OLD | NEW |