| 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_IMPL_H__ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
| 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 browser_sync::FailedDataTypesHandler* failed_data_types_handler) | 40 browser_sync::FailedDataTypesHandler* failed_data_types_handler) |
| 41 OVERRIDE; | 41 OVERRIDE; |
| 42 | 42 |
| 43 virtual browser_sync::SyncBackendHost* CreateSyncBackendHost( | 43 virtual browser_sync::SyncBackendHost* CreateSyncBackendHost( |
| 44 const std::string& name, | 44 const std::string& name, |
| 45 Profile* profile, | 45 Profile* profile, |
| 46 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) OVERRIDE; | 46 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) OVERRIDE; |
| 47 | 47 |
| 48 virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType( | 48 virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType( |
| 49 syncer::ModelType type) OVERRIDE; | 49 syncer::ModelType type) OVERRIDE; |
| 50 virtual scoped_ptr<syncer::AttachmentStore> | 50 virtual scoped_ptr<syncer::AttachmentService> CreateAttachmentService( |
| 51 CreateCustomAttachmentStoreForType(syncer::ModelType type) OVERRIDE; | 51 syncer::AttachmentService::Delegate* delegate) OVERRIDE; |
| 52 | 52 |
| 53 // Legacy datatypes that need to be converted to the SyncableService API. | 53 // Legacy datatypes that need to be converted to the SyncableService API. |
| 54 virtual SyncComponents CreateBookmarkSyncComponents( | 54 virtual SyncComponents CreateBookmarkSyncComponents( |
| 55 ProfileSyncService* profile_sync_service, | 55 ProfileSyncService* profile_sync_service, |
| 56 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; | 56 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; |
| 57 virtual SyncComponents CreateTypedUrlSyncComponents( | 57 virtual SyncComponents CreateTypedUrlSyncComponents( |
| 58 ProfileSyncService* profile_sync_service, | 58 ProfileSyncService* profile_sync_service, |
| 59 history::HistoryBackend* history_backend, | 59 history::HistoryBackend* history_backend, |
| 60 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; | 60 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; |
| 61 | 61 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 72 // Set on the UI thread (since extensions::ExtensionSystemFactory is | 72 // Set on the UI thread (since extensions::ExtensionSystemFactory is |
| 73 // non-threadsafe); accessed on both the UI and FILE threads in | 73 // non-threadsafe); accessed on both the UI and FILE threads in |
| 74 // GetSyncableServiceForType. | 74 // GetSyncableServiceForType. |
| 75 extensions::ExtensionSystem* extension_system_; | 75 extensions::ExtensionSystem* extension_system_; |
| 76 scoped_refptr<autofill::AutofillWebDataService> web_data_service_; | 76 scoped_refptr<autofill::AutofillWebDataService> web_data_service_; |
| 77 | 77 |
| 78 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); | 78 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); |
| 79 }; | 79 }; |
| 80 | 80 |
| 81 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ | 81 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
| OLD | NEW |