OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H_ | 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H_ |
6 #define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H_ | 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 base::WaitableEvent initial_loads_complete_; | 283 base::WaitableEvent initial_loads_complete_; |
284 base::WaitableEvent new_tab_ui_load_complete_; | 284 base::WaitableEvent new_tab_ui_load_complete_; |
285 int new_tab_ui_load_time_; | 285 int new_tab_ui_load_time_; |
286 | 286 |
287 // An event that notifies when we are shutting-down. | 287 // An event that notifies when we are shutting-down. |
288 scoped_ptr<base::WaitableEvent> shutdown_event_; | 288 scoped_ptr<base::WaitableEvent> shutdown_event_; |
289 | 289 |
290 // The version of the automation provider we are communicating with. | 290 // The version of the automation provider we are communicating with. |
291 std::string server_version_; | 291 std::string server_version_; |
292 | 292 |
293 // Used to guard against multiple hello messages being received. | |
294 int app_launch_signaled_; | |
295 | |
296 // Whether to perform a version check between the automation proxy and | 293 // Whether to perform a version check between the automation proxy and |
297 // the automation provider at connection time. Defaults to false, you can | 294 // the automation provider at connection time. Defaults to false, you can |
298 // set this to true if building the automation proxy into a module with | 295 // set this to true if building the automation proxy into a module with |
299 // a version resource. | 296 // a version resource. |
300 bool perform_version_check_; | 297 bool perform_version_check_; |
301 | 298 |
302 // If true, the proxy will disconnect the IPC channel on first failure | 299 // If true, the proxy will disconnect the IPC channel on first failure |
303 // to send an IPC message. This helps avoid long timeouts in tests. | 300 // to send an IPC message. This helps avoid long timeouts in tests. |
304 bool disconnect_on_failure_; | 301 bool disconnect_on_failure_; |
305 | 302 |
306 // Delay to let the browser execute the command. | 303 // Delay to let the browser execute the command. |
307 base::TimeDelta action_timeout_; | 304 base::TimeDelta action_timeout_; |
308 | 305 |
309 base::PlatformThreadId listener_thread_id_; | 306 base::PlatformThreadId listener_thread_id_; |
310 | 307 |
311 DISALLOW_COPY_AND_ASSIGN(AutomationProxy); | 308 DISALLOW_COPY_AND_ASSIGN(AutomationProxy); |
312 }; | 309 }; |
313 | 310 |
314 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H_ | 311 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H_ |
OLD | NEW |