Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: chrome/common/automation_constants.h

Issue 5707006: Revert "Add named testing interface." (Closed)
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/automation_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 // JSON value labels for proxy settings that are passed in via 10 // JSON value labels for proxy settings that are passed in via
12 // AutomationMsg_SetProxyConfig. These are here since they are used by both 11 // AutomationMsg_SetProxyConfig. These are here since they are used by both
13 // AutomationProvider and AutomationProxy. 12 // AutomationProvider and AutomationProxy.
14 extern const char kJSONProxyAutoconfig[]; 13 extern const char kJSONProxyAutoconfig[];
15 extern const char kJSONProxyNoProxy[]; 14 extern const char kJSONProxyNoProxy[];
16 extern const char kJSONProxyPacUrl[]; 15 extern const char kJSONProxyPacUrl[];
17 extern const char kJSONProxyBypassList[]; 16 extern const char kJSONProxyBypassList[];
18 extern const char kJSONProxyServer[]; 17 extern const char kJSONProxyServer[];
19 18
20 // When passing the kTestingChannelID switch to the browser, prepend
21 // this prefix to the channel id to enable the named testing interface.
22 // Named testing interface is used when you want to connect an
23 // AutomationProxy to an already-running browser instance.
24 extern const char kNamedInterfacePrefix[];
25
26 // Amount of time to wait before querying the browser. 19 // Amount of time to wait before querying the browser.
27 static const int kSleepTime = 250; 20 static const int kSleepTime = 250;
28 21 }
29 } // namespace automation
30 22
31 // Used by AutomationProxy, declared here so that other headers don't need 23 // Used by AutomationProxy, declared here so that other headers don't need
32 // to include automation_proxy.h. 24 // to include automation_proxy.h.
33 enum AutomationLaunchResult { 25 enum AutomationLaunchResult {
34 AUTOMATION_LAUNCH_RESULT_INVALID = -1, 26 AUTOMATION_LAUNCH_RESULT_INVALID = -1,
35 AUTOMATION_SUCCESS, 27 AUTOMATION_SUCCESS,
36 AUTOMATION_TIMEOUT, 28 AUTOMATION_TIMEOUT,
37 AUTOMATION_VERSION_MISMATCH, 29 AUTOMATION_VERSION_MISMATCH,
38 AUTOMATION_CREATE_TAB_FAILED, 30 AUTOMATION_CREATE_TAB_FAILED,
39 AUTOMATION_SERVER_CRASHED, 31 AUTOMATION_SERVER_CRASHED,
(...skipping 15 matching lines...) Expand all
55 // property. 47 // property.
56 enum AutomationMsg_ExtensionProperty { 48 enum AutomationMsg_ExtensionProperty {
57 AUTOMATION_MSG_EXTENSION_ID = 0, 49 AUTOMATION_MSG_EXTENSION_ID = 0,
58 AUTOMATION_MSG_EXTENSION_NAME, 50 AUTOMATION_MSG_EXTENSION_NAME,
59 AUTOMATION_MSG_EXTENSION_VERSION, 51 AUTOMATION_MSG_EXTENSION_VERSION,
60 AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX, 52 AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX,
61 }; 53 };
62 54
63 55
64 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__ 56 #endif // CHROME_COMMON_AUTOMATION_CONSTANTS_H__
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/automation_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698