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

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

Issue 8649004: Allow chromedriver to install an extension and get all installed extension IDs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 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/webdriver/webdriver_session.h
diff --git a/chrome/test/webdriver/webdriver_session.h b/chrome/test/webdriver/webdriver_session.h
index c4edae8665e43c72f750a140e05116ba039e6ff9..e11f2fea2321126f06874bc1ffe0b9791f1c5e0c 100644
--- a/chrome/test/webdriver/webdriver_session.h
+++ b/chrome/test/webdriver/webdriver_session.h
@@ -307,7 +307,13 @@ class Session {
Error* WaitForAllTabsToStopLoading();
// Install packed extension at |path|.
- Error* InstallExtension(const FilePath& path);
+ Error* InstallExtensionDeprecated(const FilePath& path);
+
+ // Get installed extensions IDs.
+ Error* GetInstalledExtensions(std::vector<std::string>* extension_ids);
+
+ // Install extension at |path|.
+ Error* InstallExtension(const FilePath& path, std::string* extension_id);
const std::string& id() const;

Powered by Google App Engine
This is Rietveld 408576698