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

Unified Diff: chrome/common/automation_messages_internal.h

Issue 6756044: Remove extension automation support that was used only by CEEE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to lkgr. Created 9 years, 9 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/common/automation_messages_internal.h
diff --git a/chrome/common/automation_messages_internal.h b/chrome/common/automation_messages_internal.h
index 573b668508358d51b6ab0c8be3bb31602086ba26..72fdf332e9edff05f643029351f4b8bbd15748f9 100644
--- a/chrome/common/automation_messages_internal.h
+++ b/chrome/common/automation_messages_internal.h
@@ -887,19 +887,19 @@ IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_FindNormalBrowserWindow,
IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_NormalBrowserWindowCount,
int)
-// Used to put the browser into "extension automation mode" for a given
-// set of Chrome Extensions API functions for the current profile, or turn
-// off automation mode. The specified tab is used as the conduit for all
-// automated API functions. It must be an external tab (as in
-// AutomationMsg_CreateExternalTab).
-IPC_MESSAGE_CONTROL2(AutomationMsg_SetEnableExtensionAutomation,
- // Tab handle.
+// DEPRECATED MESSAGE - But we must leave this comment and message so as
+// not to perturb line numbers (see comment at top of file re __LINE__).
+// (intentionally blank line)
+// (intentionally blank line)
+// (intentionally blank line)
+IPC_MESSAGE_CONTROL2(AutomationMsg_DeprecatedMessageOne,
+ // (intentionally blank line)
int,
- // Empty to disable automation, non-empty to enable
- // automation of the specified API functions, single
- // entry of "*" to enable automation of all API
- // functions.
- std::vector<std::string>)
+ // (intentionally blank line)
+ // (intentionally blank line)
+ // (intentionally blank line)
+ // (intentionally blank line)
+ int)
// This message tells the browser to start using the new proxy configuration
// represented by the given JSON string. The parameters used in the JSON
@@ -1133,20 +1133,20 @@ IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_InstallExtension,
FilePath /* full path to crx file */,
AutomationMsg_ExtensionResponseValues)
-// Silently load the extension in the given directory. This expects an
-// extension expanded into the directory, not a crx file.
-IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_LoadExpandedExtension,
- FilePath /* root directory of extension */,
- AutomationMsg_ExtensionResponseValues)
+// DEPRECATED MESSAGE - But we must leave this comment and message so as
Paweł Hajdan Jr. 2011/04/05 17:26:33 Could you add "TODO(phajdan.jr): Remove when the r
Jói 2011/04/05 18:47:10 One of the messages' comments didn't have room for
Paweł Hajdan Jr. 2011/04/05 19:47:03 That's fine, thanks. LGTM.
+// not to perturb line numbers (see comment at top of file re __LINE__).
+IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_DeprecatedMessageTwo,
+ int,
+ int)
-// Retrieves a list of the root directories of all enabled extensions
-// that have been installed into Chrome by dropping a .crx file onto
-// Chrome or an equivalent action (including loaded extensions).
-// Other types of extensions are not included on the list (e.g. "component",
-// "app" or "external" extensions) since since CEEE does not yet support them
-// (and it actually only support a single extension in its profile for now).
-IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_GetEnabledExtensions,
- std::vector<FilePath>)
+// DEPRECATED MESSAGE - But we must leave this comment and message so as
+// not to perturb line numbers (see comment at top of file re __LINE__).
+// (intentionally blank line)
+// (intentionally blank line)
+// (intentionally blank line)
+// (intentionally blank line)
+IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_DeprecatedMessageThree,
+ int)
// This message requests the type of the window with the given handle. The
// return value contains the type (Browser::Type), or -1 if the request

Powered by Google App Engine
This is Rietveld 408576698