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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 89 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
90 | 90 |
91 // Instantiates both a model associator and change processor for the | 91 // Instantiates both a model associator and change processor for the |
92 // bookmark data type. The pointers in the return struct are owned | 92 // bookmark data type. The pointers in the return struct are owned |
93 // by the caller. | 93 // by the caller. |
94 virtual SyncComponents CreateBookmarkSyncComponents( | 94 virtual SyncComponents CreateBookmarkSyncComponents( |
95 ProfileSyncService* profile_sync_service, | 95 ProfileSyncService* profile_sync_service, |
96 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 96 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
97 | 97 |
98 // Instantiates both a model associator and change processor for the | 98 // Instantiates both a model associator and change processor for the |
| 99 // extension setting data type. The pointers in the return struct are |
| 100 // owned by the caller. |
| 101 virtual SyncComponents CreateExtensionSettingSyncComponents( |
| 102 ProfileSyncService* profile_sync_service, |
| 103 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
| 104 |
| 105 // Instantiates both a model associator and change processor for the |
99 // extension data type. The pointers in the return struct are | 106 // extension data type. The pointers in the return struct are |
100 // owned by the caller. | 107 // owned by the caller. |
101 virtual SyncComponents CreateExtensionSyncComponents( | 108 virtual SyncComponents CreateExtensionSyncComponents( |
102 ProfileSyncService* profile_sync_service, | 109 ProfileSyncService* profile_sync_service, |
103 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 110 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
104 | 111 |
105 // Instantiates both a model associator and change processor for the | 112 // Instantiates both a model associator and change processor for the |
106 // password data type. The pointers in the return struct are | 113 // password data type. The pointers in the return struct are |
107 // owned by the caller. | 114 // owned by the caller. |
108 virtual SyncComponents CreatePasswordSyncComponents( | 115 virtual SyncComponents CreatePasswordSyncComponents( |
(...skipping 25 matching lines...) Expand all Loading... |
134 | 141 |
135 // Instantiates both a model associator and change processor for the | 142 // Instantiates both a model associator and change processor for the |
136 // session data type. The pointers in the return struct are | 143 // session data type. The pointers in the return struct are |
137 // owned by the caller. | 144 // owned by the caller. |
138 virtual SyncComponents CreateSessionSyncComponents( | 145 virtual SyncComponents CreateSessionSyncComponents( |
139 ProfileSyncService* profile_sync_service, | 146 ProfileSyncService* profile_sync_service, |
140 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 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 |