| 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_H__ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 virtual SyncComponents CreateBookmarkSyncComponents( | 108 virtual SyncComponents CreateBookmarkSyncComponents( |
| 109 ProfileSyncService* profile_sync_service, | 109 ProfileSyncService* profile_sync_service, |
| 110 browser_sync::DataTypeErrorHandler* error_handler) = 0; | 110 browser_sync::DataTypeErrorHandler* error_handler) = 0; |
| 111 | 111 |
| 112 // Instantiates both a model associator and change processor for the | 112 // Instantiates both a model associator and change processor for the |
| 113 // extension or app setting data type. The pointers in the return struct are | 113 // extension or app setting data type. The pointers in the return struct are |
| 114 // owned by the caller. | 114 // owned by the caller. |
| 115 virtual SyncComponents CreateExtensionOrAppSettingSyncComponents( | 115 virtual SyncComponents CreateExtensionOrAppSettingSyncComponents( |
| 116 // Either EXTENSION_SETTINGS or APP_SETTINGS. | 116 // Either EXTENSION_SETTINGS or APP_SETTINGS. |
| 117 syncable::ModelType type, | 117 syncable::ModelType type, |
| 118 SyncableService* settings_service, | |
| 119 ProfileSyncService* profile_sync_service, | 118 ProfileSyncService* profile_sync_service, |
| 120 browser_sync::DataTypeErrorHandler* error_handler) = 0; | 119 browser_sync::DataTypeErrorHandler* error_handler) = 0; |
| 121 | 120 |
| 122 // Instantiates both a model associator and change processor for the | 121 // Instantiates both a model associator and change processor for the |
| 123 // extension data type. The pointers in the return struct are | 122 // extension data type. The pointers in the return struct are |
| 124 // owned by the caller. | 123 // owned by the caller. |
| 125 virtual SyncComponents CreateExtensionSyncComponents( | 124 virtual SyncComponents CreateExtensionSyncComponents( |
| 126 ProfileSyncService* profile_sync_service, | 125 ProfileSyncService* profile_sync_service, |
| 127 browser_sync::DataTypeErrorHandler* error_handler) = 0; | 126 browser_sync::DataTypeErrorHandler* error_handler) = 0; |
| 128 | 127 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 171 |
| 173 // Instantiates both a model associator and change processor for the app | 172 // Instantiates both a model associator and change processor for the app |
| 174 // notification data type. The pointers in the return struct are owned by the | 173 // notification data type. The pointers in the return struct are owned by the |
| 175 // caller. | 174 // caller. |
| 176 virtual SyncComponents CreateAppNotificationSyncComponents( | 175 virtual SyncComponents CreateAppNotificationSyncComponents( |
| 177 ProfileSyncService* profile_sync_service, | 176 ProfileSyncService* profile_sync_service, |
| 178 browser_sync::DataTypeErrorHandler* error_handler) = 0; | 177 browser_sync::DataTypeErrorHandler* error_handler) = 0; |
| 179 }; | 178 }; |
| 180 | 179 |
| 181 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ | 180 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ |
| OLD | NEW |