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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 ProfileSyncService* profile_sync_service, | 131 ProfileSyncService* profile_sync_service, |
132 history::HistoryBackend* history_backend, | 132 history::HistoryBackend* history_backend, |
133 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 133 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
134 | 134 |
135 // Instantiates both a model associator and change processor for the | 135 // Instantiates both a model associator and change processor for the |
136 // session data type. The pointers in the return struct are | 136 // session data type. The pointers in the return struct are |
137 // owned by the caller. | 137 // owned by the caller. |
138 virtual SyncComponents CreateSessionSyncComponents( | 138 virtual SyncComponents CreateSessionSyncComponents( |
139 ProfileSyncService* profile_sync_service, | 139 ProfileSyncService* profile_sync_service, |
140 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 140 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
| 141 |
| 142 // Instantiates both a model associator and change processor for the search |
| 143 // engine data type. The pointers in the return struct are owned by the |
| 144 // caller. |
| 145 virtual SyncComponents CreateSearchEngineSyncComponents( |
| 146 ProfileSyncService* profile_sync_service, |
| 147 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
141 }; | 148 }; |
142 | 149 |
143 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ | 150 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ |
OLD | NEW |