| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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> |
| 11 | 11 |
| 12 #include "app/message_box_flags.h" | 12 #include "app/message_box_flags.h" |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "base/threading/platform_thread.h" |
| 15 #include "base/process_util.h" | 16 #include "base/process_util.h" |
| 16 #include "base/scoped_ptr.h" | 17 #include "base/scoped_ptr.h" |
| 17 #include "base/time.h" | 18 #include "base/time.h" |
| 18 #include "base/thread.h" | 19 #include "base/thread.h" |
| 19 #include "base/waitable_event.h" | 20 #include "base/waitable_event.h" |
| 20 #include "chrome/browser/ui/browser.h" | 21 #include "chrome/browser/ui/browser.h" |
| 21 #include "chrome/common/automation_constants.h" | 22 #include "chrome/common/automation_constants.h" |
| 22 #include "chrome/test/automation/automation_handle_tracker.h" | 23 #include "chrome/test/automation/automation_handle_tracker.h" |
| 23 #include "chrome/test/automation/browser_proxy.h" | 24 #include "chrome/test/automation/browser_proxy.h" |
| 24 #include "gfx/native_widget_types.h" | 25 #include "gfx/native_widget_types.h" |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 // a version resource. | 295 // a version resource. |
| 295 bool perform_version_check_; | 296 bool perform_version_check_; |
| 296 | 297 |
| 297 // If true, the proxy will disconnect the IPC channel on first failure | 298 // If true, the proxy will disconnect the IPC channel on first failure |
| 298 // to send an IPC message. This helps avoid long timeouts in tests. | 299 // to send an IPC message. This helps avoid long timeouts in tests. |
| 299 bool disconnect_on_failure_; | 300 bool disconnect_on_failure_; |
| 300 | 301 |
| 301 // Delay to let the browser execute the command. | 302 // Delay to let the browser execute the command. |
| 302 base::TimeDelta command_execution_timeout_; | 303 base::TimeDelta command_execution_timeout_; |
| 303 | 304 |
| 304 PlatformThreadId listener_thread_id_; | 305 base::PlatformThreadId listener_thread_id_; |
| 305 | 306 |
| 306 DISALLOW_COPY_AND_ASSIGN(AutomationProxy); | 307 DISALLOW_COPY_AND_ASSIGN(AutomationProxy); |
| 307 }; | 308 }; |
| 308 | 309 |
| 309 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H__ | 310 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_PROXY_H_ |
| OLD | NEW |