OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_FILTERS_GPU_VIDEO_DECODER_H_ | 5 #ifndef MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ |
6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ | 6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
| 14 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
15 #include "media/base/pipeline_status.h" | 16 #include "media/base/pipeline_status.h" |
16 #include "media/base/video_decoder.h" | 17 #include "media/base/video_decoder.h" |
17 #include "media/video/video_decode_accelerator.h" | 18 #include "media/video/video_decode_accelerator.h" |
18 | 19 |
19 template <class T> class scoped_refptr; | 20 template <class T> class scoped_refptr; |
20 | 21 |
21 namespace base { | 22 namespace base { |
22 class SharedMemory; | 23 class SharedMemory; |
23 class SingleThreadTaskRunner; | 24 class SingleThreadTaskRunner; |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 // Bound to factories_->GetMessageLoop(). | 220 // Bound to factories_->GetMessageLoop(). |
220 // NOTE: Weak pointers must be invalidated before all other member variables. | 221 // NOTE: Weak pointers must be invalidated before all other member variables. |
221 base::WeakPtrFactory<GpuVideoDecoder> weak_factory_; | 222 base::WeakPtrFactory<GpuVideoDecoder> weak_factory_; |
222 | 223 |
223 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); | 224 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); |
224 }; | 225 }; |
225 | 226 |
226 } // namespace media | 227 } // namespace media |
227 | 228 |
228 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ | 229 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ |
OLD | NEW |