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 #include <stdint.h> |
| 6 |
5 #include <list> | 7 #include <list> |
6 #include <string> | 8 #include <string> |
7 #include <vector> | 9 #include <vector> |
8 | 10 |
9 #include "base/bind.h" | 11 #include "base/bind.h" |
10 #include "base/callback_helpers.h" | 12 #include "base/callback_helpers.h" |
| 13 #include "base/macros.h" |
11 #include "base/memory/singleton.h" | 14 #include "base/memory/singleton.h" |
12 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
13 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
14 #include "media/base/decoder_buffer.h" | 17 #include "media/base/decoder_buffer.h" |
15 #include "media/base/gmock_callback_support.h" | 18 #include "media/base/gmock_callback_support.h" |
16 #include "media/base/limits.h" | 19 #include "media/base/limits.h" |
17 #include "media/base/media_util.h" | 20 #include "media/base/media_util.h" |
18 #include "media/base/mock_filters.h" | 21 #include "media/base/mock_filters.h" |
19 #include "media/base/test_data_util.h" | 22 #include "media/base/test_data_util.h" |
20 #include "media/base/test_helpers.h" | 23 #include "media/base/test_helpers.h" |
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 | 359 |
357 // Test destruction when decoder has hit end of stream. | 360 // Test destruction when decoder has hit end of stream. |
358 TEST_F(FFmpegVideoDecoderTest, Destroy_EndOfStream) { | 361 TEST_F(FFmpegVideoDecoderTest, Destroy_EndOfStream) { |
359 Initialize(); | 362 Initialize(); |
360 EnterDecodingState(); | 363 EnterDecodingState(); |
361 EnterEndOfStreamState(); | 364 EnterEndOfStreamState(); |
362 Destroy(); | 365 Destroy(); |
363 } | 366 } |
364 | 367 |
365 } // namespace media | 368 } // namespace media |
OLD | NEW |