| 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_IMPL_H__ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 virtual base::WeakPtr<SyncableService> GetAutocompleteSyncableService( | 48 virtual base::WeakPtr<SyncableService> GetAutocompleteSyncableService( |
| 49 WebDataService* web_data_service) const OVERRIDE; | 49 WebDataService* web_data_service) const OVERRIDE; |
| 50 | 50 |
| 51 virtual SyncComponents CreateBookmarkSyncComponents( | 51 virtual SyncComponents CreateBookmarkSyncComponents( |
| 52 ProfileSyncService* profile_sync_service, | 52 ProfileSyncService* profile_sync_service, |
| 53 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; | 53 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; |
| 54 | 54 |
| 55 virtual SyncComponents CreateExtensionOrAppSettingSyncComponents( | 55 virtual SyncComponents CreateExtensionOrAppSettingSyncComponents( |
| 56 // Either EXTENSION_SETTING or APP_SETTING. | 56 // Either EXTENSION_SETTING or APP_SETTING. |
| 57 syncable::ModelType type, | 57 syncable::ModelType type, |
| 58 SyncableService* settings_service, | |
| 59 ProfileSyncService* profile_sync_service, | 58 ProfileSyncService* profile_sync_service, |
| 60 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; | 59 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; |
| 61 | 60 |
| 62 virtual SyncComponents CreateExtensionSyncComponents( | 61 virtual SyncComponents CreateExtensionSyncComponents( |
| 63 ProfileSyncService* profile_sync_service, | 62 ProfileSyncService* profile_sync_service, |
| 64 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; | 63 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; |
| 65 | 64 |
| 66 virtual SyncComponents CreatePasswordSyncComponents( | 65 virtual SyncComponents CreatePasswordSyncComponents( |
| 67 ProfileSyncService* profile_sync_service, | 66 ProfileSyncService* profile_sync_service, |
| 68 PasswordStore* password_store, | 67 PasswordStore* password_store, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 94 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; | 93 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; |
| 95 | 94 |
| 96 private: | 95 private: |
| 97 Profile* profile_; | 96 Profile* profile_; |
| 98 CommandLine* command_line_; | 97 CommandLine* command_line_; |
| 99 | 98 |
| 100 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); | 99 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); |
| 101 }; | 100 }; |
| 102 | 101 |
| 103 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ | 102 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
| OLD | NEW |