| 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 <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/callback_helpers.h" | 12 #include "base/callback_helpers.h" |
| 13 #include "base/macros.h" |
| 13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 14 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
| 15 #include "media/base/callback_holder.h" | 16 #include "media/base/callback_holder.h" |
| 16 #include "media/base/decoder_buffer.h" | 17 #include "media/base/decoder_buffer.h" |
| 17 #include "media/base/pipeline_status.h" | 18 #include "media/base/pipeline_status.h" |
| 18 #include "media/base/video_decoder.h" | 19 #include "media/base/video_decoder.h" |
| 19 #include "media/base/video_decoder_config.h" | 20 #include "media/base/video_decoder_config.h" |
| 20 #include "media/base/video_frame.h" | 21 #include "media/base/video_frame.h" |
| 21 #include "ui/gfx/geometry/size.h" | 22 #include "ui/gfx/geometry/size.h" |
| 22 | 23 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 121 |
| 121 // NOTE: Weak pointers must be invalidated before all other member variables. | 122 // NOTE: Weak pointers must be invalidated before all other member variables. |
| 122 base::WeakPtrFactory<FakeVideoDecoder> weak_factory_; | 123 base::WeakPtrFactory<FakeVideoDecoder> weak_factory_; |
| 123 | 124 |
| 124 DISALLOW_COPY_AND_ASSIGN(FakeVideoDecoder); | 125 DISALLOW_COPY_AND_ASSIGN(FakeVideoDecoder); |
| 125 }; | 126 }; |
| 126 | 127 |
| 127 } // namespace media | 128 } // namespace media |
| 128 | 129 |
| 129 #endif // MEDIA_FILTERS_FAKE_VIDEO_DECODER_H_ | 130 #endif // MEDIA_FILTERS_FAKE_VIDEO_DECODER_H_ |
| OLD | NEW |