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

Unified 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, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/automation/automation_constants.h
diff --git a/chrome/test/automation/automation_constants.h b/chrome/test/automation/automation_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..f34c0f2c80e9b6795b07fb96bbc3f2852c2363aa
--- /dev/null
+++ b/chrome/test/automation/automation_constants.h
@@ -0,0 +1,46 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_
+#define CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_
+#pragma once
+
+namespace automation {
+// Amount of time to wait before querying the browser.
+static const int kSleepTime = 250;
+}
+
+// Used by AutomationProxy, declared here so that other headers don't need
+// to include automation_proxy.h.
+enum AutomationLaunchResult {
+ AUTOMATION_LAUNCH_RESULT_INVALID = -1,
+ AUTOMATION_SUCCESS,
+ AUTOMATION_TIMEOUT,
+ AUTOMATION_VERSION_MISMATCH,
+ AUTOMATION_CREATE_TAB_FAILED,
+ AUTOMATION_SERVER_CRASHED,
+};
+
+enum AutomationMsg_NavigationResponseValues {
+ AUTOMATION_MSG_NAVIGATION_ERROR = 0,
+ AUTOMATION_MSG_NAVIGATION_SUCCESS,
+ AUTOMATION_MSG_NAVIGATION_AUTH_NEEDED,
+};
+
+enum AutomationMsg_ExtensionResponseValues {
+ AUTOMATION_MSG_EXTENSION_INSTALL_SUCCEEDED = 0,
+ AUTOMATION_MSG_EXTENSION_INSTALL_FAILED
+};
+
+// Used in the AutomationMsg_GetExtensionProperty to identify which extension
+// property should be retrieved, instead of having separate messages for each
+// property.
+enum AutomationMsg_ExtensionProperty {
+ AUTOMATION_MSG_EXTENSION_ID = 0,
+ AUTOMATION_MSG_EXTENSION_NAME,
+ AUTOMATION_MSG_EXTENSION_VERSION,
+ AUTOMATION_MSG_EXTENSION_BROWSER_ACTION_INDEX,
+};
+
+#endif // CHROME_TEST_AUTOMATION_AUTOMATION_CONSTANTS_H_
« 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