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 <utility> | 5 #include <utility> |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/callback_helpers.h" | 9 #include "base/callback_helpers.h" |
10 #include "base/debug/stack_trace.h" | 10 #include "base/debug/stack_trace.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
13 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
14 #include "base/strings/string_split.h" | 14 #include "base/strings/string_split.h" |
15 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
16 #include "base/synchronization/lock.h" | 16 #include "base/synchronization/lock.h" |
17 #include "media/base/data_buffer.h" | 17 #include "media/base/data_buffer.h" |
18 #include "media/base/gmock_callback_support.h" | 18 #include "media/base/gmock_callback_support.h" |
19 #include "media/base/limits.h" | 19 #include "media/base/limits.h" |
20 #include "media/base/mock_filters.h" | 20 #include "media/base/mock_filters.h" |
21 #include "media/base/test_helpers.h" | 21 #include "media/base/test_helpers.h" |
22 #include "media/base/video_frame.h" | 22 #include "media/base/video_frame.h" |
23 #include "media/filters/video_renderer_impl.h" | 23 #include "media/renderers/video_renderer_impl.h" |
24 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
25 | 25 |
26 using ::testing::_; | 26 using ::testing::_; |
27 using ::testing::AnyNumber; | 27 using ::testing::AnyNumber; |
28 using ::testing::Invoke; | 28 using ::testing::Invoke; |
29 using ::testing::NiceMock; | 29 using ::testing::NiceMock; |
30 using ::testing::Return; | 30 using ::testing::Return; |
31 using ::testing::SaveArg; | 31 using ::testing::SaveArg; |
32 using ::testing::StrictMock; | 32 using ::testing::StrictMock; |
33 | 33 |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
493 .WillOnce(RunClosure(event.GetClosure())); | 493 .WillOnce(RunClosure(event.GetClosure())); |
494 SatisfyPendingReadWithEndOfStream(); | 494 SatisfyPendingReadWithEndOfStream(); |
495 event.RunAndWait(); | 495 event.RunAndWait(); |
496 } | 496 } |
497 | 497 |
498 WaitForEnded(); | 498 WaitForEnded(); |
499 Destroy(); | 499 Destroy(); |
500 } | 500 } |
501 | 501 |
502 } // namespace media | 502 } // namespace media |
OLD | NEW |