| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMPONENTS_FACTORY_H__ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 syncable::ModelType type) = 0; | 85 syncable::ModelType type) = 0; |
| 86 | 86 |
| 87 // Legacy datatypes that need to be converted to the SyncableService API. | 87 // Legacy datatypes that need to be converted to the SyncableService API. |
| 88 virtual SyncComponents CreateBookmarkSyncComponents( | 88 virtual SyncComponents CreateBookmarkSyncComponents( |
| 89 ProfileSyncService* profile_sync_service, | 89 ProfileSyncService* profile_sync_service, |
| 90 browser_sync::DataTypeErrorHandler* error_handler) = 0; | 90 browser_sync::DataTypeErrorHandler* error_handler) = 0; |
| 91 virtual SyncComponents CreatePasswordSyncComponents( | 91 virtual SyncComponents CreatePasswordSyncComponents( |
| 92 ProfileSyncService* profile_sync_service, | 92 ProfileSyncService* profile_sync_service, |
| 93 PasswordStore* password_store, | 93 PasswordStore* password_store, |
| 94 browser_sync::DataTypeErrorHandler* error_handler) = 0; | 94 browser_sync::DataTypeErrorHandler* error_handler) = 0; |
| 95 #if defined(ENABLE_THEMES) |
| 95 virtual SyncComponents CreateThemeSyncComponents( | 96 virtual SyncComponents CreateThemeSyncComponents( |
| 96 ProfileSyncService* profile_sync_service, | 97 ProfileSyncService* profile_sync_service, |
| 97 browser_sync::DataTypeErrorHandler* error_handler) = 0; | 98 browser_sync::DataTypeErrorHandler* error_handler) = 0; |
| 99 #endif |
| 98 virtual SyncComponents CreateTypedUrlSyncComponents( | 100 virtual SyncComponents CreateTypedUrlSyncComponents( |
| 99 ProfileSyncService* profile_sync_service, | 101 ProfileSyncService* profile_sync_service, |
| 100 history::HistoryBackend* history_backend, | 102 history::HistoryBackend* history_backend, |
| 101 browser_sync::DataTypeErrorHandler* error_handler) = 0; | 103 browser_sync::DataTypeErrorHandler* error_handler) = 0; |
| 102 virtual SyncComponents CreateSessionSyncComponents( | 104 virtual SyncComponents CreateSessionSyncComponents( |
| 103 ProfileSyncService* profile_sync_service, | 105 ProfileSyncService* profile_sync_service, |
| 104 browser_sync::DataTypeErrorHandler* error_handler) = 0; | 106 browser_sync::DataTypeErrorHandler* error_handler) = 0; |
| 105 }; | 107 }; |
| 106 | 108 |
| 107 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ | 109 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_H__ |
| OLD | NEW |