OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ | 5 #ifndef MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ |
6 #define MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ | 6 #define MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/scoped_vector.h" | 13 #include "base/memory/scoped_vector.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "base/synchronization/condition_variable.h" | 15 #include "base/synchronization/condition_variable.h" |
15 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
16 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
17 #include "media/base/decryptor.h" | 18 #include "media/base/decryptor.h" |
18 #include "media/base/demuxer_stream.h" | 19 #include "media/base/demuxer_stream.h" |
19 #include "media/base/media_log.h" | 20 #include "media/base/media_log.h" |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 | 267 |
267 // NOTE: Weak pointers must be invalidated before all other member variables. | 268 // NOTE: Weak pointers must be invalidated before all other member variables. |
268 base::WeakPtrFactory<VideoRendererImpl> weak_factory_; | 269 base::WeakPtrFactory<VideoRendererImpl> weak_factory_; |
269 | 270 |
270 DISALLOW_COPY_AND_ASSIGN(VideoRendererImpl); | 271 DISALLOW_COPY_AND_ASSIGN(VideoRendererImpl); |
271 }; | 272 }; |
272 | 273 |
273 } // namespace media | 274 } // namespace media |
274 | 275 |
275 #endif // MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ | 276 #endif // MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ |
OLD | NEW |