| 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 #include "base/bind.h" | 5 #include "base/bind.h" |
| 6 #include "base/macros.h" |
| 6 #include "base/message_loop/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
| 7 #include "media/base/decoder_buffer.h" | 8 #include "media/base/decoder_buffer.h" |
| 8 #include "media/base/mock_filters.h" | 9 #include "media/base/mock_filters.h" |
| 9 #include "media/base/test_helpers.h" | 10 #include "media/base/test_helpers.h" |
| 10 #include "media/base/video_frame.h" | 11 #include "media/base/video_frame.h" |
| 11 #include "media/filters/fake_video_decoder.h" | 12 #include "media/filters/fake_video_decoder.h" |
| 12 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 13 | 14 |
| 14 namespace media { | 15 namespace media { |
| 15 | 16 |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 } | 422 } |
| 422 | 423 |
| 423 TEST_P(FakeVideoDecoderTest, Destroy_DuringPendingReadAndPendingReset) { | 424 TEST_P(FakeVideoDecoderTest, Destroy_DuringPendingReadAndPendingReset) { |
| 424 Initialize(); | 425 Initialize(); |
| 425 EnterPendingReadState(); | 426 EnterPendingReadState(); |
| 426 EnterPendingResetState(); | 427 EnterPendingResetState(); |
| 427 Destroy(); | 428 Destroy(); |
| 428 } | 429 } |
| 429 | 430 |
| 430 } // namespace media | 431 } // namespace media |
| OLD | NEW |