| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |