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

Unified Diff: chrome/test/automation/tab_proxy.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 head. Created 9 years, 8 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
« no previous file with comments | « chrome/test/automation/automation_proxy.cc ('k') | chrome/test/automation/tab_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/tab_proxy.h
diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h
index 62852edd05b7c3795530fb13d55a453206010ce9..3f0e6b142308ea1f262839c20bc320a69ad5e89b 100644
--- a/chrome/test/automation/tab_proxy.h
+++ b/chrome/test/automation/tab_proxy.h
@@ -105,30 +105,6 @@ class TabProxy : public AutomationResourceProxy,
// This proxy is invalidated when the document changes.
DOMElementProxyRef GetDOMDocument();
- // Configure extension automation mode. When extension automation
- // mode is turned on, the automation host can overtake extension API calls
- // e.g. to make UI tests for extensions easier to write. Returns true if
- // the message is successfully sent.
- //
- // Note that API calls in _any_ extension view will be routed to the current
- // tab. This is to enable UI testing of e.g. extension background pages.
- //
- // Enabling extension automation from more than one tab is an error.
- //
- // You must disable extension automation before destroying the tab.
- //
- // The parameter can take the following types of values:
- // a) An empty list to turn off extension automation.
- // b) A list with one item, "*", to turn extension automation on for all
- // functions.
- // c) A list with one or more items which are the names of Chrome Extension
- // API functions that should be forwarded over the automation interface.
- // Other functions will continue to be fulfilled as normal. This lets you
- // write tests where some functionality continues to function as normal,
- // and other functionality is mocked out by the test.
- bool SetEnableExtensionAutomation(
- const std::vector<std::string>& functions_enabled) WARN_UNUSED_RESULT;
-
// Navigates to a url. This method accepts the same kinds of URL input that
// can be passed to Chrome on the command line. This is a synchronous call and
// hence blocks until the navigation completes.
« no previous file with comments | « chrome/test/automation/automation_proxy.cc ('k') | chrome/test/automation/tab_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698