OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 // Ownership of |value| is taken by this function. Returns true on success. | 521 // Ownership of |value| is taken by this function. Returns true on success. |
522 bool SendSetPreferenceJSONRequest( | 522 bool SendSetPreferenceJSONRequest( |
523 AutomationMessageSender* sender, | 523 AutomationMessageSender* sender, |
524 const std::string& pref, | 524 const std::string& pref, |
525 base::Value* value, | 525 base::Value* value, |
526 automation::Error* error) WARN_UNUSED_RESULT; | 526 automation::Error* error) WARN_UNUSED_RESULT; |
527 | 527 |
528 // Requests to override the user's geolocation. Returns true on success. | 528 // Requests to override the user's geolocation. Returns true on success. |
529 bool SendOverrideGeolocationJSONRequest( | 529 bool SendOverrideGeolocationJSONRequest( |
530 AutomationMessageSender* sender, | 530 AutomationMessageSender* sender, |
531 base::DictionaryValue* geolocation, | 531 const base::DictionaryValue* geolocation, |
532 automation::Error* error) WARN_UNUSED_RESULT; | 532 automation::Error* error) WARN_UNUSED_RESULT; |
533 | 533 |
534 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ | 534 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ |
OLD | NEW |