| Index: chrome/test/webdriver/webdriver_session.cc
|
| diff --git a/chrome/test/webdriver/webdriver_session.cc b/chrome/test/webdriver/webdriver_session.cc
|
| index 74ad4a1877e7c5f5144366045af59f52248022df..b089b632ee5fe03f9ae2d191fb4c9f90925aedef 100644
|
| --- a/chrome/test/webdriver/webdriver_session.cc
|
| +++ b/chrome/test/webdriver/webdriver_session.cc
|
| @@ -997,12 +997,35 @@ Error* Session::WaitForAllTabsToStopLoading() {
|
| return error;
|
| }
|
|
|
| -Error* Session::InstallExtension(const FilePath& path) {
|
| +Error* Session::InstallExtensionDeprecated(const FilePath& path) {
|
| + Error* error = NULL;
|
| + RunSessionTask(NewRunnableMethod(
|
| + automation_.get(),
|
| + &Automation::InstallExtensionDeprecated,
|
| + path,
|
| + &error));
|
| + return error;
|
| +}
|
| +
|
| +Error* Session::GetInstalledExtensions(
|
| + std::vector<std::string>* extension_ids) {
|
| + Error* error = NULL;
|
| + RunSessionTask(NewRunnableMethod(
|
| + automation_.get(),
|
| + &Automation::GetInstalledExtensions,
|
| + extension_ids,
|
| + &error));
|
| + return error;
|
| +}
|
| +
|
| +Error* Session::InstallExtension(
|
| + const FilePath& path, std::string* extension_id) {
|
| Error* error = NULL;
|
| RunSessionTask(NewRunnableMethod(
|
| automation_.get(),
|
| &Automation::InstallExtension,
|
| path,
|
| + extension_id,
|
| &error));
|
| return error;
|
| }
|
|
|