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_FILTERS_FAKE_VIDEO_DECODER_H_ | 5 #ifndef MEDIA_FILTERS_FAKE_VIDEO_DECODER_H_ |
6 #define MEDIA_FILTERS_FAKE_VIDEO_DECODER_H_ | 6 #define MEDIA_FILTERS_FAKE_VIDEO_DECODER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <list> | 10 #include <list> |
9 | 11 |
10 #include "base/bind.h" | 12 #include "base/bind.h" |
11 #include "base/callback.h" | 13 #include "base/callback.h" |
12 #include "base/callback_helpers.h" | 14 #include "base/callback_helpers.h" |
13 #include "base/macros.h" | 15 #include "base/macros.h" |
14 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
15 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
16 #include "media/base/callback_holder.h" | 18 #include "media/base/callback_holder.h" |
17 #include "media/base/decoder_buffer.h" | 19 #include "media/base/decoder_buffer.h" |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 123 |
122 // NOTE: Weak pointers must be invalidated before all other member variables. | 124 // NOTE: Weak pointers must be invalidated before all other member variables. |
123 base::WeakPtrFactory<FakeVideoDecoder> weak_factory_; | 125 base::WeakPtrFactory<FakeVideoDecoder> weak_factory_; |
124 | 126 |
125 DISALLOW_COPY_AND_ASSIGN(FakeVideoDecoder); | 127 DISALLOW_COPY_AND_ASSIGN(FakeVideoDecoder); |
126 }; | 128 }; |
127 | 129 |
128 } // namespace media | 130 } // namespace media |
129 | 131 |
130 #endif // MEDIA_FILTERS_FAKE_VIDEO_DECODER_H_ | 132 #endif // MEDIA_FILTERS_FAKE_VIDEO_DECODER_H_ |
OLD | NEW |