| 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;
|
| }
|
|
|