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