| 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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 469 DictionaryValue* args, | 469 DictionaryValue* args, |
| 470 IPC::Message* reply_message); | 470 IPC::Message* reply_message); |
| 471 | 471 |
| 472 // Perform a given action on an existing search engine. | 472 // Perform a given action on an existing search engine. |
| 473 // Assumes that the profile's template url model is loaded. | 473 // Assumes that the profile's template url model is loaded. |
| 474 // Uses the JSON interface for input/output. | 474 // Uses the JSON interface for input/output. |
| 475 void PerformActionOnSearchEngine(Browser* browser, | 475 void PerformActionOnSearchEngine(Browser* browser, |
| 476 DictionaryValue* args, | 476 DictionaryValue* args, |
| 477 IPC::Message* reply_message); | 477 IPC::Message* reply_message); |
| 478 | 478 |
| 479 // Get info about preferences stored in Local State. |
| 480 // Uses the JSON interface for input/output. |
| 481 void GetLocalStatePrefsInfo(Browser* browser, |
| 482 DictionaryValue* args, |
| 483 IPC::Message* reply_message); |
| 484 |
| 485 // Set local state prefs. |
| 486 // Uses the JSON interface for input/output. |
| 487 void SetLocalState(Browser* browser, |
| 488 DictionaryValue* args, |
| 489 IPC::Message* reply_message); |
| 490 |
| 479 // Get info about preferences. | 491 // Get info about preferences. |
| 480 // Uses the JSON interface for input/output. | 492 // Uses the JSON interface for input/output. |
| 481 void GetPrefsInfo(Browser* browser, | 493 void GetPrefsInfo(Browser* browser, |
| 482 DictionaryValue* args, | 494 DictionaryValue* args, |
| 483 IPC::Message* reply_message); | 495 IPC::Message* reply_message); |
| 484 | 496 |
| 485 // Set prefs. | 497 // Set prefs. |
| 486 // Uses the JSON interface for input/output. | 498 // Uses the JSON interface for input/output. |
| 487 void SetPrefs(Browser* browser, | 499 void SetPrefs(Browser* browser, |
| 488 DictionaryValue* args, | 500 DictionaryValue* args, |
| (...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1243 // Used to enumerate browser profiles. | 1255 // Used to enumerate browser profiles. |
| 1244 scoped_refptr<ImporterList> importer_list_; | 1256 scoped_refptr<ImporterList> importer_list_; |
| 1245 | 1257 |
| 1246 // The stored data for the ImportSettings operation. | 1258 // The stored data for the ImportSettings operation. |
| 1247 ImportSettingsData import_settings_data_; | 1259 ImportSettingsData import_settings_data_; |
| 1248 | 1260 |
| 1249 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1261 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1250 }; | 1262 }; |
| 1251 | 1263 |
| 1252 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1264 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |