| 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_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/sync/glue/data_type_controller.h" | 10 #include "chrome/browser/sync/glue/data_type_controller.h" |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 WebDataService* web_data_service)); | 48 WebDataService* web_data_service)); |
| 49 MOCK_CONST_METHOD1(GetAutocompleteSyncableService, | 49 MOCK_CONST_METHOD1(GetAutocompleteSyncableService, |
| 50 base::WeakPtr<SyncableService>( | 50 base::WeakPtr<SyncableService>( |
| 51 WebDataService* web_data_service)); | 51 WebDataService* web_data_service)); |
| 52 MOCK_METHOD2(CreateBookmarkSyncComponents, | 52 MOCK_METHOD2(CreateBookmarkSyncComponents, |
| 53 SyncComponents(ProfileSyncService* profile_sync_service, | 53 SyncComponents(ProfileSyncService* profile_sync_service, |
| 54 browser_sync::DataTypeErrorHandler* error_handler)); | 54 browser_sync::DataTypeErrorHandler* error_handler)); |
| 55 MOCK_METHOD2(CreateExtensionSyncComponents, | 55 MOCK_METHOD2(CreateExtensionSyncComponents, |
| 56 SyncComponents(ProfileSyncService* profile_sync_service, | 56 SyncComponents(ProfileSyncService* profile_sync_service, |
| 57 browser_sync::DataTypeErrorHandler* error_handler)); | 57 browser_sync::DataTypeErrorHandler* error_handler)); |
| 58 MOCK_METHOD4(CreateExtensionOrAppSettingSyncComponents, | 58 MOCK_METHOD3(CreateExtensionOrAppSettingSyncComponents, |
| 59 SyncComponents(syncable::ModelType model_type, | 59 SyncComponents(syncable::ModelType model_type, |
| 60 SyncableService* settings_service, | |
| 61 ProfileSyncService* profile_sync_service, | 60 ProfileSyncService* profile_sync_service, |
| 62 browser_sync::DataTypeErrorHandler* error_handler)); | 61 browser_sync::DataTypeErrorHandler* error_handler)); |
| 63 MOCK_METHOD3(CreatePasswordSyncComponents, | 62 MOCK_METHOD3(CreatePasswordSyncComponents, |
| 64 SyncComponents( | 63 SyncComponents( |
| 65 ProfileSyncService* profile_sync_service, | 64 ProfileSyncService* profile_sync_service, |
| 66 PasswordStore* password_store, | 65 PasswordStore* password_store, |
| 67 browser_sync::DataTypeErrorHandler* error_handler)); | 66 browser_sync::DataTypeErrorHandler* error_handler)); |
| 68 MOCK_METHOD2(CreatePreferenceSyncComponents, | 67 MOCK_METHOD2(CreatePreferenceSyncComponents, |
| 69 SyncComponents(ProfileSyncService* profile_sync_service, | 68 SyncComponents(ProfileSyncService* profile_sync_service, |
| 70 browser_sync::DataTypeErrorHandler* error_handler)); | 69 browser_sync::DataTypeErrorHandler* error_handler)); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 89 browser_sync::DataTypeErrorHandler* error_handler)); | 88 browser_sync::DataTypeErrorHandler* error_handler)); |
| 90 | 89 |
| 91 private: | 90 private: |
| 92 SyncComponents MakeSyncComponents(); | 91 SyncComponents MakeSyncComponents(); |
| 93 | 92 |
| 94 scoped_ptr<browser_sync::AssociatorInterface> model_associator_; | 93 scoped_ptr<browser_sync::AssociatorInterface> model_associator_; |
| 95 scoped_ptr<browser_sync::ChangeProcessor> change_processor_; | 94 scoped_ptr<browser_sync::ChangeProcessor> change_processor_; |
| 96 }; | 95 }; |
| 97 | 96 |
| 98 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ | 97 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_MOCK_H__ |
| OLD | NEW |