OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_COMMON_AUTOMATION_CONSTANTS_H__ | 5 #ifndef CHROME_COMMON_AUTOMATION_CONSTANTS_H__ |
6 #define CHROME_COMMON_AUTOMATION_CONSTANTS_H__ | 6 #define CHROME_COMMON_AUTOMATION_CONSTANTS_H__ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace automation { | 9 namespace automation { |
| 10 |
10 // JSON value labels for proxy settings that are passed in via | 11 // JSON value labels for proxy settings that are passed in via |
11 // AutomationMsg_SetProxyConfig. These are here since they are used by both | 12 // AutomationMsg_SetProxyConfig. These are here since they are used by both |
12 // AutomationProvider and AutomationProxy. | 13 // AutomationProvider and AutomationProxy. |
13 extern const char kJSONProxyAutoconfig[]; | 14 extern const char kJSONProxyAutoconfig[]; |
14 extern const char kJSONProxyNoProxy[]; | 15 extern const char kJSONProxyNoProxy[]; |
15 extern const char kJSONProxyPacUrl[]; | 16 extern const char kJSONProxyPacUrl[]; |
16 extern const char kJSONProxyBypassList[]; | 17 extern const char kJSONProxyBypassList[]; |
17 extern const char kJSONProxyServer[]; | 18 extern const char kJSONProxyServer[]; |
18 | 19 |
| 20 // When passing the kTestingChannelID switch to the browser, prepend |
| 21 // this prefix to the channel id to enable the named testing interface. |
| 22 extern const char kNamedInterfacePrefix[]; |
| 23 |
19 // Amount of time to wait before querying the browser. | 24 // Amount of time to wait before querying the browser. |
20 static const int kSleepTime = 250; | 25 static const int kSleepTime = 250; |
21 } | 26 |
| 27 } // namespace automation |
22 | 28 |
23 // Used by AutomationProxy, declared here so that other headers don't need | 29 // Used by AutomationProxy, declared here so that other headers don't need |
24 // to include automation_proxy.h. | 30 // to include automation_proxy.h. |
25 enum AutomationLaunchResult { | 31 enum AutomationLaunchResult { |
26 AUTOMATION_LAUNCH_RESULT_INVALID = -1, | 32 AUTOMATION_LAUNCH_RESULT_INVALID = -1, |
27 AUTOMATION_SUCCESS, | 33 AUTOMATION_SUCCESS, |
28 AUTOMATION_TIMEOUT, | 34 AUTOMATION_TIMEOUT, |
29 AUTOMATION_VERSION_MISMATCH, | 35 AUTOMATION_VERSION_MISMATCH, |
30 AUTOMATION_CREATE_TAB_FAILED, | 36 AUTOMATION_CREATE_TAB_FAILED, |
31 AUTOMATION_SERVER_CRASHED, | 37 AUTOMATION_SERVER_CRASHED, |
(...skipping 15 matching lines...) Expand all Loading... |
47 // property. | 53 // property. |
48 enum AutomationMsg_ExtensionProperty { | 54 enum AutomationMsg_ExtensionProperty { |
49 AUTOMATION_MSG_EXTENSION_ID = 0, | 55 AUTOMATION_MSG_EXTENSION_ID = 0, |
50 AUTOMATION_MSG_EXTENSION_NAME, | 56 AUTOMATION_MSG_EXTENSION_NAME, |
51 AUTOMATION_MSG_EXTENSION_VERSION, | 57 AUTOMATION_MSG_EXTENSION_VERSION, |
52 AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX, | 58 AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX, |
53 }; | 59 }; |
54 | 60 |
55 | 61 |
56 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__ | 62 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__ |
OLD | NEW |