OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "remoting/protocol/monitored_video_stub.h" | 5 #include "remoting/protocol/monitored_video_stub.h" |
6 | 6 |
7 #include "base/message_loop/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
8 #include "base/message_loop/message_loop_proxy.h" | |
9 #include "base/run_loop.h" | 8 #include "base/run_loop.h" |
10 #include "base/test/test_timeouts.h" | 9 #include "base/test/test_timeouts.h" |
11 #include "remoting/protocol/protocol_mock_objects.h" | 10 #include "remoting/protocol/protocol_mock_objects.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
14 | 13 |
15 using ::testing::_; | 14 using ::testing::_; |
16 using ::testing::AnyNumber; | 15 using ::testing::AnyNumber; |
17 using ::testing::AtMost; | 16 using ::testing::AtMost; |
18 using ::testing::InvokeWithoutArgs; | 17 using ::testing::InvokeWithoutArgs; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 message_loop_.PostDelayedTask( | 88 message_loop_.PostDelayedTask( |
90 FROM_HERE, | 89 FROM_HERE, |
91 base::MessageLoop::QuitClosure(), | 90 base::MessageLoop::QuitClosure(), |
92 // The delay should be much greater than |kTestOverrideDelayMilliseconds|. | 91 // The delay should be much greater than |kTestOverrideDelayMilliseconds|. |
93 TestTimeouts::tiny_timeout()); | 92 TestTimeouts::tiny_timeout()); |
94 message_loop_.Run(); | 93 message_loop_.Run(); |
95 } | 94 } |
96 | 95 |
97 } // namespace protocol | 96 } // namespace protocol |
98 } // namespace remoting | 97 } // namespace remoting |
OLD | NEW |