| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/test/app_remoting_latency_test_fixture.h" | 5 #include "remoting/test/app_remoting_latency_test_fixture.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| 11 #include "base/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
| 12 #include "base/timer/timer.h" | 12 #include "base/timer/timer.h" |
| 13 #include "remoting/proto/event.pb.h" | 13 #include "remoting/proto/event.pb.h" |
| 14 #include "remoting/protocol/input_stub.h" | 14 #include "remoting/protocol/input_stub.h" |
| 15 #include "remoting/test/app_remoting_connection_helper.h" | 15 #include "remoting/test/app_remoting_connection_helper.h" |
| 16 #include "remoting/test/app_remoting_test_driver_environment.h" | 16 #include "remoting/test/app_remoting_test_driver_environment.h" |
| 17 #include "remoting/test/rgb_value.h" | 17 #include "remoting/test/rgb_value.h" |
| 18 #include "remoting/test/test_chromoting_client.h" | 18 #include "remoting/test/test_chromoting_client.h" |
| 19 #include "remoting/test/test_video_renderer.h" | 19 #include "remoting/test/test_video_renderer.h" |
| 20 | 20 |
| 21 namespace remoting { | 21 namespace remoting { |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 167 |
| 168 run_loop_.reset(new base::RunLoop()); | 168 run_loop_.reset(new base::RunLoop()); |
| 169 base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( | 169 base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( |
| 170 FROM_HERE, run_loop_->QuitClosure(), base::TimeDelta::FromSeconds(2)); | 170 FROM_HERE, run_loop_->QuitClosure(), base::TimeDelta::FromSeconds(2)); |
| 171 run_loop_->Run(); | 171 run_loop_->Run(); |
| 172 run_loop_.reset(); | 172 run_loop_.reset(); |
| 173 } | 173 } |
| 174 | 174 |
| 175 } // namespace test | 175 } // namespace test |
| 176 } // namespace remoting | 176 } // namespace remoting |
| OLD | NEW |