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

Unified Diff: chrome/test/automation/automation_messages_internal.h

Issue 366025: Modifying extension automation so that it is done through a particular... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/external_tab_container.cc ('k') | chrome/test/automation/automation_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/automation_messages_internal.h
===================================================================
--- chrome/test/automation/automation_messages_internal.h (revision 31172)
+++ chrome/test/automation/automation_messages_internal.h (working copy)
@@ -905,13 +905,19 @@
// value is the number of windows.
IPC_SYNC_MESSAGE_ROUTED0_1(AutomationMsg_NormalBrowserWindowCount, int)
- // Used to put the browser into "extension automation mode" for the
- // current profile, or turn off the mode.
- IPC_MESSAGE_ROUTED1(AutomationMsg_SetEnableExtensionAutomation,
- std::vector<std::string> /* empty to disable automation,
- non-empty to enable automation
- of the specified API
- functions */)
+ // 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_ROUTED2(AutomationMsg_SetEnableExtensionAutomation,
+ // Tab handle.
+ 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>)
// This message tells the browser to start using the new proxy configuration
// represented by the given JSON string. The parameters used in the JSON
« no previous file with comments | « chrome/browser/external_tab_container.cc ('k') | chrome/test/automation/automation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698