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> |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // Instantiates both a model associator and change processor for the | 70 // Instantiates both a model associator and change processor for the |
71 // autofill data type. The pointers in the return struct are owned | 71 // autofill data type. The pointers in the return struct are owned |
72 // by the caller. | 72 // by the caller. |
73 virtual SyncComponents CreateAutofillSyncComponents( | 73 virtual SyncComponents CreateAutofillSyncComponents( |
74 ProfileSyncService* profile_sync_service, | 74 ProfileSyncService* profile_sync_service, |
75 WebDatabase* web_database, | 75 WebDatabase* web_database, |
76 PersonalDataManager* personal_data, | 76 PersonalDataManager* personal_data, |
77 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 77 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
78 | 78 |
79 // Instantiates both a model associator and change processor for the | 79 // Instantiates both a model associator and change processor for the |
| 80 // autofill data type. The pointers in the return struct are owned |
| 81 // by the caller. |
| 82 virtual SyncComponents CreateAutofillProfileSyncComponents( |
| 83 ProfileSyncService* profile_sync_service, |
| 84 WebDatabase* web_database, |
| 85 PersonalDataManager* personal_data, |
| 86 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
| 87 |
| 88 // Instantiates both a model associator and change processor for the |
80 // bookmark data type. The pointers in the return struct are owned | 89 // bookmark data type. The pointers in the return struct are owned |
81 // by the caller. | 90 // by the caller. |
82 virtual SyncComponents CreateBookmarkSyncComponents( | 91 virtual SyncComponents CreateBookmarkSyncComponents( |
83 ProfileSyncService* profile_sync_service, | 92 ProfileSyncService* profile_sync_service, |
84 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 93 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
85 | 94 |
86 // Instantiates both a model associator and change processor for the | 95 // Instantiates both a model associator and change processor for the |
87 // extension data type. The pointers in the return struct are | 96 // extension data type. The pointers in the return struct are |
88 // owned by the caller. | 97 // owned by the caller. |
89 virtual SyncComponents CreateExtensionSyncComponents( | 98 virtual SyncComponents CreateExtensionSyncComponents( |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 131 |
123 // Instantiates both a model associator and change processor for the | 132 // Instantiates both a model associator and change processor for the |
124 // session data type. The pointers in the return struct are | 133 // session data type. The pointers in the return struct are |
125 // owned by the caller. | 134 // owned by the caller. |
126 virtual SyncComponents CreateSessionSyncComponents( | 135 virtual SyncComponents CreateSessionSyncComponents( |
127 ProfileSyncService* profile_sync_service, | 136 ProfileSyncService* profile_sync_service, |
128 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 137 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
129 }; | 138 }; |
130 | 139 |
131 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ | 140 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ |
OLD | NEW |