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

Unified Diff: chrome/test/automation/tab_proxy.cc

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
Index: chrome/test/automation/tab_proxy.cc
===================================================================
--- chrome/test/automation/tab_proxy.cc (revision 31172)
+++ chrome/test/automation/tab_proxy.cc (working copy)
@@ -356,6 +356,15 @@
return *value != NULL;
}
+bool TabProxy::SetEnableExtensionAutomation(
+ const std::vector<std::string>& functions_enabled) {
+ if (!is_valid())
+ return false;
+
+ return sender_->Send(new AutomationMsg_SetEnableExtensionAutomation(
+ 0, handle_, functions_enabled));
+}
+
bool TabProxy::GetConstrainedWindowCount(int* count) const {
if (!is_valid())
return false;
« no previous file with comments | « chrome/test/automation/tab_proxy.h ('k') | chrome/test/data/extensions/uitest/roundtrip_api_call/background.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698