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

Unified Diff: chrome/test/automation/automation_json_requests.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/automation/automation_json_requests.h
diff --git a/chrome/test/automation/automation_json_requests.h b/chrome/test/automation/automation_json_requests.h
index ada6d8d538f3a0d81df705e67055bf87183e6d71..5fe3bda33874937aa5f5b8c111fbfa63557a90f2 100644
--- a/chrome/test/automation/automation_json_requests.h
+++ b/chrome/test/automation/automation_json_requests.h
@@ -317,4 +317,17 @@ bool SendGetChromeDriverAutomationVersion(
int* version,
std::string* error_msg) WARN_UNUSED_RESULT;
+// Requests info about all installed extensions. Returns true on success.
+bool SendGetExtensionsInfoJSONRequest(
+ AutomationMessageSender* sender,
+ base::ListValue* extensions_list,
+ std::string* error_msg) WARN_UNUSED_RESULT;
+
+// Requests that the given extension be installed. Returns true on success.
+bool SendInstallExtensionJSONRequest(
+ AutomationMessageSender* sender,
+ const FilePath& path,
+ std::string* extension_id,
+ std::string* error_msg) WARN_UNUSED_RESULT;
+
#endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_

Powered by Google App Engine
This is Rietveld 408576698