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

Side by Side Diff: chrome/test/automation/automation_constants.h

Issue 4194007: Revert "Refactor automation messages." due to mysterious problems on mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_
6 #define CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_
7 #pragma once
8
9 namespace automation {
10 // Amount of time to wait before querying the browser.
11 static const int kSleepTime = 250;
12 }
13
14 // Used by AutomationProxy, declared here so that other headers don't need
15 // to include automation_proxy.h.
16 enum AutomationLaunchResult {
17 AUTOMATION_LAUNCH_RESULT_INVALID = -1,
18 AUTOMATION_SUCCESS,
19 AUTOMATION_TIMEOUT,
20 AUTOMATION_VERSION_MISMATCH,
21 AUTOMATION_CREATE_TAB_FAILED,
22 AUTOMATION_SERVER_CRASHED,
23 };
24
25 enum AutomationMsg_NavigationResponseValues {
26 AUTOMATION_MSG_NAVIGATION_ERROR = 0,
27 AUTOMATION_MSG_NAVIGATION_SUCCESS,
28 AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED,
29 };
30
31 enum AutomationMsg_ExtensionResponseValues {
32 AUTOMATION_MSG_EXTENSION_INSTALL_SUCCEEDED = 0,
33 AUTOMATION_MSG_EXTENSION_INSTALL_FAILED
34 };
35
36 // Used in the AutomationMsg_GetExtensionProperty to identify which extension
37 // property should be retrieved, instead of having separate messages for each
38 // property.
39 enum AutomationMsg_ExtensionProperty {
40 AUTOMATION_MSG_EXTENSION_ID = 0,
41 AUTOMATION_MSG_EXTENSION_NAME,
42 AUTOMATION_MSG_EXTENSION_VERSION,
43 AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX,
44 };
45
46 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/test/automation/autocomplete_edit_proxy.cc ('k') | chrome/test/automation/automation_handle_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698