| 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 <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <utility> |
| 10 |
| 9 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 10 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
| 11 #include "base/test/test_timeouts.h" | 13 #include "base/test/test_timeouts.h" |
| 12 #include "remoting/protocol/protocol_mock_objects.h" | 14 #include "remoting/protocol/protocol_mock_objects.h" |
| 13 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 17 |
| 16 using ::testing::_; | 18 using ::testing::_; |
| 17 using ::testing::AnyNumber; | 19 using ::testing::AnyNumber; |
| 18 using ::testing::AtMost; | 20 using ::testing::AtMost; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 90 |
| 89 message_loop_.PostDelayedTask( | 91 message_loop_.PostDelayedTask( |
| 90 FROM_HERE, base::MessageLoop::QuitWhenIdleClosure(), | 92 FROM_HERE, base::MessageLoop::QuitWhenIdleClosure(), |
| 91 // The delay should be much greater than |kTestOverrideDelayMilliseconds|. | 93 // The delay should be much greater than |kTestOverrideDelayMilliseconds|. |
| 92 TestTimeouts::tiny_timeout()); | 94 TestTimeouts::tiny_timeout()); |
| 93 message_loop_.Run(); | 95 message_loop_.Run(); |
| 94 } | 96 } |
| 95 | 97 |
| 96 } // namespace protocol | 98 } // namespace protocol |
| 97 } // namespace remoting | 99 } // namespace remoting |
| OLD | NEW |