OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/browser/sync/glue/change_processor.h" | 13 #include "chrome/browser/sync/glue/change_processor.h" |
13 #include "chrome/browser/sync/glue/data_type_controller.h" | 14 #include "chrome/browser/sync/glue/data_type_controller.h" |
14 #include "chrome/browser/sync/glue/model_associator.h" | 15 #include "chrome/browser/sync/glue/model_associator.h" |
15 #include "chrome/browser/sync/unrecoverable_error_handler.h" | 16 #include "chrome/browser/sync/unrecoverable_error_handler.h" |
16 | 17 |
17 class PersonalDataManager; | 18 class PersonalDataManager; |
18 class PasswordStore; | 19 class PasswordStore; |
19 class ProfileSyncService; | 20 class ProfileSyncService; |
20 class WebDatabase; | 21 class WebDatabase; |
21 | 22 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 122 |
122 // Instantiates both a model associator and change processor for the | 123 // Instantiates both a model associator and change processor for the |
123 // session data type. The pointers in the return struct are | 124 // session data type. The pointers in the return struct are |
124 // owned by the caller. | 125 // owned by the caller. |
125 virtual SyncComponents CreateSessionSyncComponents( | 126 virtual SyncComponents CreateSessionSyncComponents( |
126 ProfileSyncService* profile_sync_service, | 127 ProfileSyncService* profile_sync_service, |
127 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 128 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
128 }; | 129 }; |
129 | 130 |
130 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ | 131 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ |
OLD | NEW |