| 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_SYNC_PROFILE_SYNC_FACTORY_H__ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 | 104 |
| 105 // Instantiates both a model associator and change processor for the | 105 // Instantiates both a model associator and change processor for the |
| 106 // password data type. The pointers in the return struct are | 106 // password data type. The pointers in the return struct are |
| 107 // owned by the caller. | 107 // owned by the caller. |
| 108 virtual SyncComponents CreatePasswordSyncComponents( | 108 virtual SyncComponents CreatePasswordSyncComponents( |
| 109 ProfileSyncService* profile_sync_service, | 109 ProfileSyncService* profile_sync_service, |
| 110 PasswordStore* password_store, | 110 PasswordStore* password_store, |
| 111 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 111 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
| 112 | 112 |
| 113 // Instantiates both a model associator and change processor for the | 113 // Instantiates both a model associator and change processor for the |
| 114 // preference data type. The pointers in the return struct are | |
| 115 // owned by the caller. | |
| 116 virtual SyncComponents CreatePreferenceSyncComponents( | |
| 117 ProfileSyncService* profile_sync_service, | |
| 118 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | |
| 119 | |
| 120 // Instantiates both a model associator and change processor for the | |
| 121 // theme data type. The pointers in the return struct are | 114 // theme data type. The pointers in the return struct are |
| 122 // owned by the caller. | 115 // owned by the caller. |
| 123 virtual SyncComponents CreateThemeSyncComponents( | 116 virtual SyncComponents CreateThemeSyncComponents( |
| 124 ProfileSyncService* profile_sync_service, | 117 ProfileSyncService* profile_sync_service, |
| 125 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 118 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
| 126 | 119 |
| 127 // Instantiates both a model associator and change processor for the | 120 // Instantiates both a model associator and change processor for the |
| 128 // typed_url data type. The pointers in the return struct are owned | 121 // typed_url data type. The pointers in the return struct are owned |
| 129 // by the caller. | 122 // by the caller. |
| 130 virtual SyncComponents CreateTypedUrlSyncComponents( | 123 virtual SyncComponents CreateTypedUrlSyncComponents( |
| 131 ProfileSyncService* profile_sync_service, | 124 ProfileSyncService* profile_sync_service, |
| 132 history::HistoryBackend* history_backend, | 125 history::HistoryBackend* history_backend, |
| 133 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 126 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
| 134 | 127 |
| 135 // Instantiates both a model associator and change processor for the | 128 // Instantiates both a model associator and change processor for the |
| 136 // session data type. The pointers in the return struct are | 129 // session data type. The pointers in the return struct are |
| 137 // owned by the caller. | 130 // owned by the caller. |
| 138 virtual SyncComponents CreateSessionSyncComponents( | 131 virtual SyncComponents CreateSessionSyncComponents( |
| 139 ProfileSyncService* profile_sync_service, | 132 ProfileSyncService* profile_sync_service, |
| 140 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 133 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
| 141 }; | 134 }; |
| 142 | 135 |
| 143 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ | 136 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ |
| OLD | NEW |