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> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/synchronization/waitable_event.h" |
13 #include "chrome/common/automation_constants.h" | 14 #include "chrome/common/automation_constants.h" |
14 #include "ui/base/keycodes/keyboard_codes.h" | 15 #include "ui/base/keycodes/keyboard_codes.h" |
15 | 16 |
16 class AutomationMessageSender; | 17 class AutomationMessageSender; |
17 class FilePath; | 18 class FilePath; |
18 class GURL; | 19 class GURL; |
19 class DictionaryValue; | 20 class DictionaryValue; |
20 class ListValue; | 21 class ListValue; |
21 class Value; | 22 class Value; |
22 | 23 |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 std::string* error_msg) WARN_UNUSED_RESULT; | 319 std::string* error_msg) WARN_UNUSED_RESULT; |
319 | 320 |
320 // Requests the version of ChromeDriver automation supported by the automation | 321 // Requests the version of ChromeDriver automation supported by the automation |
321 // server. Returns true on success. | 322 // server. Returns true on success. |
322 bool SendGetChromeDriverAutomationVersion( | 323 bool SendGetChromeDriverAutomationVersion( |
323 AutomationMessageSender* sender, | 324 AutomationMessageSender* sender, |
324 int* version, | 325 int* version, |
325 std::string* error_msg) WARN_UNUSED_RESULT; | 326 std::string* error_msg) WARN_UNUSED_RESULT; |
326 | 327 |
327 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ | 328 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ |
OLD | NEW |