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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/callback.h" | 6 #include "base/callback.h" |
7 #include "base/callback_helpers.h" | 7 #include "base/callback_helpers.h" |
8 #include "base/debug/stack_trace.h" | 8 #include "base/debug/stack_trace.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/stl_util.h" | 10 #include "base/stl_util.h" |
11 #include "base/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
12 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
13 #include "base/timer.h" | 13 #include "base/timer.h" |
14 #include "media/base/data_buffer.h" | 14 #include "media/base/data_buffer.h" |
15 #include "media/base/gmock_callback_support.h" | 15 #include "media/base/gmock_callback_support.h" |
16 #include "media/base/limits.h" | 16 #include "media/base/limits.h" |
17 #include "media/base/mock_filters.h" | 17 #include "media/base/mock_filters.h" |
18 #include "media/base/test_helpers.h" | 18 #include "media/base/test_helpers.h" |
19 #include "media/base/video_frame.h" | 19 #include "media/base/video_frame.h" |
20 #include "media/filters/video_renderer_base.h" | 20 #include "media/filters/video_renderer_base.h" |
21 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 InSequence s; | 642 InSequence s; |
643 | 643 |
644 EXPECT_CALL(*decoder_, Initialize(_, _, _)) | 644 EXPECT_CALL(*decoder_, Initialize(_, _, _)) |
645 .WillOnce(RunCallback<1>(DECODER_ERROR_NOT_SUPPORTED)); | 645 .WillOnce(RunCallback<1>(DECODER_ERROR_NOT_SUPPORTED)); |
646 InitializeRenderer(DECODER_ERROR_NOT_SUPPORTED); | 646 InitializeRenderer(DECODER_ERROR_NOT_SUPPORTED); |
647 | 647 |
648 Stop(); | 648 Stop(); |
649 } | 649 } |
650 | 650 |
651 } // namespace media | 651 } // namespace media |
OLD | NEW |