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 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 IPC::Message* reply_message); | 710 IPC::Message* reply_message); |
711 | 711 |
712 // Returns info about sync. | 712 // Returns info about sync. |
713 // Uses the JSON interface for input/output. | 713 // Uses the JSON interface for input/output. |
714 void GetSyncInfo(Browser* browser, | 714 void GetSyncInfo(Browser* browser, |
715 base::DictionaryValue* args, | 715 base::DictionaryValue* args, |
716 IPC::Message* reply_message); | 716 IPC::Message* reply_message); |
717 | 717 |
718 // Waits for the ongoing sync cycle to complete. | 718 // Waits for the ongoing sync cycle to complete. |
719 // Uses the JSON interface for input/output. | 719 // Uses the JSON interface for input/output. |
720 void AwaitSyncCycleCompletion(Browser* browser, | 720 void AwaitFullSyncCompletion(Browser* browser, |
721 base::DictionaryValue* args, | 721 base::DictionaryValue* args, |
722 IPC::Message* reply_message); | 722 IPC::Message* reply_message); |
723 | 723 |
724 // Waits for sync to reinitialize (for example, after a browser restart). | 724 // Waits for sync to reinitialize (for example, after a browser restart). |
725 // Uses the JSON interface for input/output. | 725 // Uses the JSON interface for input/output. |
726 void AwaitSyncRestart(Browser* browser, | 726 void AwaitSyncRestart(Browser* browser, |
727 base::DictionaryValue* args, | 727 base::DictionaryValue* args, |
728 IPC::Message* reply_message); | 728 IPC::Message* reply_message); |
729 | 729 |
730 // Enables sync for one or more sync datatypes. | 730 // Enables sync for one or more sync datatypes. |
731 // Uses the JSON interface for input/output. | 731 // Uses the JSON interface for input/output. |
732 void EnableSyncForDatatypes(Browser* browser, | 732 void EnableSyncForDatatypes(Browser* browser, |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1401 // Used to enumerate browser profiles. | 1401 // Used to enumerate browser profiles. |
1402 scoped_refptr<ImporterList> importer_list_; | 1402 scoped_refptr<ImporterList> importer_list_; |
1403 | 1403 |
1404 // The stored data for the ImportSettings operation. | 1404 // The stored data for the ImportSettings operation. |
1405 ImportSettingsData import_settings_data_; | 1405 ImportSettingsData import_settings_data_; |
1406 | 1406 |
1407 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); | 1407 DISALLOW_COPY_AND_ASSIGN(TestingAutomationProvider); |
1408 }; | 1408 }; |
1409 | 1409 |
1410 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ | 1410 #endif // CHROME_BROWSER_AUTOMATION_TESTING_AUTOMATION_PROVIDER_H_ |
OLD | NEW |