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 <utility> | 9 #include <utility> |
10 #include "base/task.h" | 10 #include "base/task.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 ProfileSyncService* profile_sync_service, | 109 ProfileSyncService* profile_sync_service, |
110 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 110 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
111 | 111 |
112 // Instantiates both a model associator and change processor for the | 112 // Instantiates both a model associator and change processor for the |
113 // typed_url data type. The pointers in the return struct are owned | 113 // typed_url data type. The pointers in the return struct are owned |
114 // by the caller. | 114 // by the caller. |
115 virtual SyncComponents CreateTypedUrlSyncComponents( | 115 virtual SyncComponents CreateTypedUrlSyncComponents( |
116 ProfileSyncService* profile_sync_service, | 116 ProfileSyncService* profile_sync_service, |
117 history::HistoryBackend* history_backend, | 117 history::HistoryBackend* history_backend, |
118 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | 118 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; |
119 | |
120 // Instantiates both a model associator and change processor for the | |
121 // session data type. The pointers in the return struct are | |
122 // owned by the caller. | |
123 virtual SyncComponents CreateSessionSyncComponents( | |
124 ProfileSyncService* profile_sync_service, | |
125 browser_sync::UnrecoverableErrorHandler* error_handler) = 0; | |
126 }; | 119 }; |
127 | 120 |
128 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ | 121 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ |
OLD | NEW |