| 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 <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 void UnblockAndLaunchBlockedPopup(Browser* browser, | 627 void UnblockAndLaunchBlockedPopup(Browser* browser, |
| 628 base::DictionaryValue* args, | 628 base::DictionaryValue* args, |
| 629 IPC::Message* reply_message); | 629 IPC::Message* reply_message); |
| 630 | 630 |
| 631 // Get info about theme. | 631 // Get info about theme. |
| 632 // Uses the JSON interface for input/output. | 632 // Uses the JSON interface for input/output. |
| 633 void GetThemeInfo(Browser* browser, | 633 void GetThemeInfo(Browser* browser, |
| 634 base::DictionaryValue* args, | 634 base::DictionaryValue* args, |
| 635 IPC::Message* reply_message); | 635 IPC::Message* reply_message); |
| 636 | 636 |
| 637 // Install the given unpacked/packed extension. |
| 638 // Uses the JSON interface for input/output. |
| 639 void InstallExtension(base::DictionaryValue* args, |
| 640 IPC::Message* reply_message); |
| 641 |
| 637 // Get info about all intalled extensions. | 642 // Get info about all intalled extensions. |
| 638 // Uses the JSON interface for input/output. | 643 // Uses the JSON interface for input/output. |
| 639 void GetExtensionsInfo(Browser* browser, | 644 void GetExtensionsInfo(base::DictionaryValue* args, |
| 640 base::DictionaryValue* args, | |
| 641 IPC::Message* reply_message); | 645 IPC::Message* reply_message); |
| 642 | 646 |
| 643 // Uninstalls the extension with the given id. | 647 // Uninstalls the extension with the given id. |
| 644 // Uses the JSON interface for input/output. | 648 // Uses the JSON interface for input/output. |
| 645 void UninstallExtensionById(Browser* browser, | 649 void UninstallExtensionById(Browser* browser, |
| 646 base::DictionaryValue* args, | 650 base::DictionaryValue* args, |
| 647 IPC::Message* reply_message); | 651 IPC::Message* reply_message); |
| 648 | 652 |
| 649 // Set extension states: | 653 // Set extension states: |
| 650 // Enable/disable extension. | 654 // Enable/disable extension. |
| (...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1400 // Used to enumerate browser profiles. | 1404 // Used to enumerate browser profiles. |
| 1401 scoped_refptr<ImporterList> importer_list_; | 1405 scoped_refptr<ImporterList> importer_list_; |
| 1402 | 1406 |
| 1403 // The stored data for the ImportSettings operation. | 1407 // The stored data for the ImportSettings operation. |
| 1404 ImportSettingsData import_settings_data_; | 1408 ImportSettingsData import_settings_data_; |
| 1405 | 1409 |
| 1406 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1410 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
| 1407 }; | 1411 }; |
| 1408 | 1412 |
| 1409 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1413 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
| OLD | NEW |