| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_CONSTANTS_H__ | 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H__ |
| 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H__ | 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H__ |
| 7 | 7 |
| 8 namespace automation { | 8 namespace automation { |
| 9 // Amount of time to wait before querying the browser. | 9 // Amount of time to wait before querying the browser. |
| 10 static const int kSleepTime = 250; | 10 static const int kSleepTime = 250; |
| 11 } | 11 } |
| 12 | 12 |
| 13 // Used by AutomationProxy, declared here so that other headers don't need | 13 // Used by AutomationProxy, declared here so that other headers don't need |
| 14 // to include automation_proxy.h. | 14 // to include automation_proxy.h. |
| 15 enum AutomationLaunchResult { | 15 enum AutomationLaunchResult { |
| 16 AUTOMATION_SUCCESS, | 16 AUTOMATION_SUCCESS, |
| 17 AUTOMATION_TIMEOUT, | 17 AUTOMATION_TIMEOUT, |
| 18 AUTOMATION_VERSION_MISMATCH, | 18 AUTOMATION_VERSION_MISMATCH, |
| 19 AUTOMATION_CREATE_TAB_FAILED | 19 AUTOMATION_CREATE_TAB_FAILED |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 enum AutomationMsg_NavigationResponseValues { | 22 enum AutomationMsg_NavigationResponseValues { |
| 23 AUTOMATION_MSG_NAVIGATION_ERROR = 0, | 23 AUTOMATION_MSG_NAVIGATION_ERROR = 0, |
| 24 AUTOMATION_MSG_NAVIGATION_SUCCESS, | 24 AUTOMATION_MSG_NAVIGATION_SUCCESS, |
| 25 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED, | 25 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED, |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H__ | 28 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H__ |
| OLD | NEW |