| 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_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 6 #define CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 | 482 |
| 483 // Perform a given action on an existing search engine. | 483 // Perform a given action on an existing search engine. |
| 484 // Assumes that the profile's template url model is loaded. | 484 // Assumes that the profile's template url model is loaded. |
| 485 // Uses the JSON interface for input/output. | 485 // Uses the JSON interface for input/output. |
| 486 void PerformActionOnSearchEngine(Browser* browser, | 486 void PerformActionOnSearchEngine(Browser* browser, |
| 487 base::DictionaryValue* args, | 487 base::DictionaryValue* args, |
| 488 IPC::Message* reply_message); | 488 IPC::Message* reply_message); |
| 489 | 489 |
| 490 // Get info about preferences stored in Local State. | 490 // Get info about preferences stored in Local State. |
| 491 // Uses the JSON interface for input/output. | 491 // Uses the JSON interface for input/output. |
| 492 void GetLocalStatePrefsInfo(Browser* browser, | 492 void GetLocalStatePrefsInfo(base::DictionaryValue* args, |
| 493 base::DictionaryValue* args, | |
| 494 IPC::Message* reply_message); | 493 IPC::Message* reply_message); |
| 495 | 494 |
| 496 // Set local state prefs. | 495 // Set local state prefs. |
| 497 // Uses the JSON interface for input/output. | 496 // Uses the JSON interface for input/output. |
| 498 void SetLocalStatePrefs(Browser* browser, | 497 void SetLocalStatePrefs(base::DictionaryValue* args, |
| 499 base::DictionaryValue* args, | |
| 500 IPC::Message* reply_message); | 498 IPC::Message* reply_message); |
| 501 | 499 |
| 502 // Get info about preferences. | 500 // Get info about preferences. |
| 503 // Uses the JSON interface for input/output. | 501 // Uses the JSON interface for input/output. |
| 504 void GetPrefsInfo(Browser* browser, | 502 void GetPrefsInfo(Browser* browser, |
| 505 base::DictionaryValue* args, | 503 base::DictionaryValue* args, |
| 506 IPC::Message* reply_message); | 504 IPC::Message* reply_message); |
| 507 | 505 |
| 508 // Set prefs. | 506 // Set prefs. |
| 509 // Uses the JSON interface for input/output. | 507 // Uses the JSON interface for input/output. |
| (...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1421 // Used to enumerate browser profiles. | 1419 // Used to enumerate browser profiles. |
| 1422 scoped_refptr<ImporterList> importer_list_; | 1420 scoped_refptr<ImporterList> importer_list_; |
| 1423 | 1421 |
| 1424 // The stored data for the ImportSettings operation. | 1422 // The stored data for the ImportSettings operation. |
| 1425 ImportSettingsData import_settings_data_; | 1423 ImportSettingsData import_settings_data_; |
| 1426 | 1424 |
| 1427 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1425 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1428 }; | 1426 }; |
| 1429 | 1427 |
| 1430 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1428 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |