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_connection_helper.h" | 5 #include "remoting/test/app_remoting_connection_helper.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/json/json_reader.h" | 9 #include "base/json/json_reader.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
14 #include "base/values.h" | 14 #include "base/values.h" |
15 #include "remoting/protocol/host_stub.h" | 15 #include "remoting/protocol/host_stub.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/remote_application_details.h" | 17 #include "remoting/test/remote_application_details.h" |
18 #include "remoting/test/test_chromoting_client.h" | 18 #include "remoting/test/test_chromoting_client.h" |
19 | 19 |
20 namespace { | 20 namespace { |
21 const int kDefaultDPI = 96; | 21 const int kDefaultDPI = 96; |
22 const int kDefaultWidth = 1024; | 22 const int kDefaultWidth = 1024; |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 DCHECK(run_loop_); | 213 DCHECK(run_loop_); |
214 // Now that the main window is visible, give the app some time to settle | 214 // Now that the main window is visible, give the app some time to settle |
215 // before signaling that it is ready to run tests. | 215 // before signaling that it is ready to run tests. |
216 timer_->Start(FROM_HERE, base::TimeDelta::FromSeconds(2), | 216 timer_->Start(FROM_HERE, base::TimeDelta::FromSeconds(2), |
217 run_loop_->QuitClosure()); | 217 run_loop_->QuitClosure()); |
218 } | 218 } |
219 } | 219 } |
220 | 220 |
221 } // namespace test | 221 } // namespace test |
222 } // namespace remoting | 222 } // namespace remoting |
OLD | NEW |