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> | |
11 | 10 |
12 #include "base/task.h" | |
13 #include "chrome/browser/sync/glue/change_processor.h" | |
14 #include "chrome/browser/sync/glue/data_type_controller.h" | 11 #include "chrome/browser/sync/glue/data_type_controller.h" |
15 #include "chrome/browser/sync/glue/model_associator.h" | |
16 #include "chrome/browser/sync/unrecoverable_error_handler.h" | 12 #include "chrome/browser/sync/unrecoverable_error_handler.h" |
17 | 13 |
18 class PasswordStore; | 14 class PasswordStore; |
19 class ProfileSyncService; | 15 class ProfileSyncService; |
20 class SyncableService; | 16 class SyncableService; |
21 class WebDataService; | 17 class WebDataService; |
22 | 18 |
23 namespace browser_sync { | 19 namespace browser_sync { |
| 20 class AssociatorInterface; |
| 21 class ChangeProcessor; |
24 class DataTypeManager; | 22 class DataTypeManager; |
25 class GenericChangeProcessor; | 23 class GenericChangeProcessor; |
26 class SharedChangeProcessor; | 24 class SharedChangeProcessor; |
27 class SyncBackendHost; | 25 class SyncBackendHost; |
28 class UnrecoverableErrorHandler; | 26 class UnrecoverableErrorHandler; |
29 } | 27 } |
30 | 28 |
31 namespace history { | 29 namespace history { |
32 class HistoryBackend; | 30 class HistoryBackend; |
33 }; | 31 }; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 170 |
173 // Instantiates both a model associator and change processor for the app | 171 // 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 | 172 // notification data type. The pointers in the return struct are owned by the |
175 // caller. | 173 // caller. |
176 virtual SyncComponents CreateAppNotificationSyncComponents( | 174 virtual SyncComponents CreateAppNotificationSyncComponents( |
177 ProfileSyncService* profile_sync_service, | 175 ProfileSyncService* profile_sync_service, |
178 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 176 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
179 }; | 177 }; |
180 | 178 |
181 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ | 179 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ |
OLD | NEW |