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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_
6 #define CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 AutomationMessageSender* sender, 310 AutomationMessageSender* sender,
311 std::string* error_msg) WARN_UNUSED_RESULT; 311 std::string* error_msg) WARN_UNUSED_RESULT;
312 312
313 // Requests the version of ChromeDriver automation supported by the automation 313 // Requests the version of ChromeDriver automation supported by the automation
314 // server. Returns true on success. 314 // server. Returns true on success.
315 bool SendGetChromeDriverAutomationVersion( 315 bool SendGetChromeDriverAutomationVersion(
316 AutomationMessageSender* sender, 316 AutomationMessageSender* sender,
317 int* version, 317 int* version,
318 std::string* error_msg) WARN_UNUSED_RESULT; 318 std::string* error_msg) WARN_UNUSED_RESULT;
319 319
320 // Requests info about all installed extensions. Returns true on success.
321 bool SendGetExtensionsInfoJSONRequest(
322 AutomationMessageSender* sender,
323 base::ListValue* extensions_list,
324 std::string* error_msg) WARN_UNUSED_RESULT;
325
326 // Requests that the given extension be installed. Returns true on success.
327 bool SendInstallExtensionJSONRequest(
328 AutomationMessageSender* sender,
329 const FilePath& path,
330 std::string* extension_id,
331 std::string* error_msg) WARN_UNUSED_RESULT;
332
320 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ 333 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698