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

Unified Diff: chrome/test/webdriver/webdriver_session.cc

Issue 10115018: Convert the infobars interactive_ui_test to a browser_test. Remove the ExtensionProxy class which… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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/webdriver/webdriver_session.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/webdriver/webdriver_session.cc
===================================================================
--- chrome/test/webdriver/webdriver_session.cc (revision 132618)
+++ chrome/test/webdriver/webdriver_session.cc (working copy)
@@ -1160,16 +1160,6 @@
return error;
}
-Error* Session::InstallExtensionDeprecated(const FilePath& path) {
- Error* error = NULL;
- RunSessionTask(base::Bind(
- &Automation::InstallExtensionDeprecated,
- base::Unretained(automation_.get()),
- path,
- &error));
- return error;
-}
-
Error* Session::InstallExtension(
const FilePath& path, std::string* extension_id) {
Error* error = NULL;
@@ -1835,7 +1825,8 @@
// Install extensions.
for (size_t i = 0; i < capabilities_.extensions.size(); ++i) {
- error = InstallExtensionDeprecated(capabilities_.extensions[i]);
+ std::string extension_id;
+ error = InstallExtension(capabilities_.extensions[i], &extension_id);
if (error)
return error;
}
« no previous file with comments | « chrome/test/webdriver/webdriver_session.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698