| 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_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 <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 485 base::DictionaryValue* args, | 485 base::DictionaryValue* args, |
| 486 IPC::Message* reply_message); | 486 IPC::Message* reply_message); |
| 487 | 487 |
| 488 // Perform a given action on an existing search engine. | 488 // Perform a given action on an existing search engine. |
| 489 // Assumes that the profile's template url model is loaded. | 489 // Assumes that the profile's template url model is loaded. |
| 490 // Uses the JSON interface for input/output. | 490 // Uses the JSON interface for input/output. |
| 491 void PerformActionOnSearchEngine(Browser* browser, | 491 void PerformActionOnSearchEngine(Browser* browser, |
| 492 base::DictionaryValue* args, | 492 base::DictionaryValue* args, |
| 493 IPC::Message* reply_message); | 493 IPC::Message* reply_message); |
| 494 | 494 |
| 495 #if defined(ENABLE_PROTECTOR_SERVICE) |
| 495 // Get ProtectorService state. | 496 // Get ProtectorService state. |
| 496 // Uses the JSON interface for input/output. | 497 // Uses the JSON interface for input/output. |
| 497 void GetProtectorState(Browser* browser, | 498 void GetProtectorState(Browser* browser, |
| 498 base::DictionaryValue* args, | 499 base::DictionaryValue* args, |
| 499 IPC::Message* reply_message); | 500 IPC::Message* reply_message); |
| 500 | 501 |
| 501 // Perform a given action on the ProtectorService. | 502 // Perform a given action on the ProtectorService. |
| 502 // Uses the JSON interface for input/output. | 503 // Uses the JSON interface for input/output. |
| 503 void PerformProtectorAction(Browser* browser, | 504 void PerformProtectorAction(Browser* browser, |
| 504 base::DictionaryValue* args, | 505 base::DictionaryValue* args, |
| 505 IPC::Message* reply_message); | 506 IPC::Message* reply_message); |
| 507 #endif |
| 506 | 508 |
| 507 // Get info about preferences stored in Local State. | 509 // Get info about preferences stored in Local State. |
| 508 // Uses the JSON interface for input/output. | 510 // Uses the JSON interface for input/output. |
| 509 void GetLocalStatePrefsInfo(base::DictionaryValue* args, | 511 void GetLocalStatePrefsInfo(base::DictionaryValue* args, |
| 510 IPC::Message* reply_message); | 512 IPC::Message* reply_message); |
| 511 | 513 |
| 512 // Set local state prefs. | 514 // Set local state prefs. |
| 513 // Uses the JSON interface for input/output. | 515 // Uses the JSON interface for input/output. |
| 514 void SetLocalStatePrefs(base::DictionaryValue* args, | 516 void SetLocalStatePrefs(base::DictionaryValue* args, |
| 515 IPC::Message* reply_message); | 517 IPC::Message* reply_message); |
| (...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1611 ImportSettingsData import_settings_data_; | 1613 ImportSettingsData import_settings_data_; |
| 1612 | 1614 |
| 1613 // The automation event observer queue. It is lazily created when an observer | 1615 // The automation event observer queue. It is lazily created when an observer |
| 1614 // is added to avoid overhead when not needed. | 1616 // is added to avoid overhead when not needed. |
| 1615 scoped_ptr<AutomationEventQueue> automation_event_queue_; | 1617 scoped_ptr<AutomationEventQueue> automation_event_queue_; |
| 1616 | 1618 |
| 1617 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1619 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1618 }; | 1620 }; |
| 1619 | 1621 |
| 1620 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1622 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |