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