| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // A base class that provides the plumbing for a decoder filters. | 5 // A base class that provides the plumbing for a decoder filters. |
| 6 | 6 |
| 7 #ifndef MEDIA_FILTERS_DECODER_BASE_H_ | 7 #ifndef MEDIA_FILTERS_DECODER_BASE_H_ |
| 8 #define MEDIA_FILTERS_DECODER_BASE_H_ | 8 #define MEDIA_FILTERS_DECODER_BASE_H_ |
| 9 | 9 |
| 10 #include <deque> | 10 #include <deque> |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "base/lock.h" | |
| 14 #include "base/stl_util-inl.h" | 13 #include "base/stl_util-inl.h" |
| 15 #include "base/task.h" | 14 #include "base/task.h" |
| 16 #include "base/thread.h" | 15 #include "base/thread.h" |
| 17 #include "media/base/buffers.h" | 16 #include "media/base/buffers.h" |
| 18 #include "media/base/callback.h" | 17 #include "media/base/callback.h" |
| 19 #include "media/base/filters.h" | 18 #include "media/base/filters.h" |
| 20 #include "media/base/filter_host.h" | 19 #include "media/base/filter_host.h" |
| 21 | 20 |
| 22 namespace media { | 21 namespace media { |
| 23 | 22 |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 kStopped, | 301 kStopped, |
| 303 }; | 302 }; |
| 304 State state_; | 303 State state_; |
| 305 | 304 |
| 306 DISALLOW_COPY_AND_ASSIGN(DecoderBase); | 305 DISALLOW_COPY_AND_ASSIGN(DecoderBase); |
| 307 }; | 306 }; |
| 308 | 307 |
| 309 } // namespace media | 308 } // namespace media |
| 310 | 309 |
| 311 #endif // MEDIA_FILTERS_DECODER_BASE_H_ | 310 #endif // MEDIA_FILTERS_DECODER_BASE_H_ |
| OLD | NEW |