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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 28 matching lines...) Expand all Loading... |
39 syncable::ModelType type) OVERRIDE; | 39 syncable::ModelType type) OVERRIDE; |
40 | 40 |
41 // Legacy datatypes that need to be converted to the SyncableService API. | 41 // Legacy datatypes that need to be converted to the SyncableService API. |
42 virtual SyncComponents CreateBookmarkSyncComponents( | 42 virtual SyncComponents CreateBookmarkSyncComponents( |
43 ProfileSyncService* profile_sync_service, | 43 ProfileSyncService* profile_sync_service, |
44 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; | 44 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; |
45 virtual SyncComponents CreatePasswordSyncComponents( | 45 virtual SyncComponents CreatePasswordSyncComponents( |
46 ProfileSyncService* profile_sync_service, | 46 ProfileSyncService* profile_sync_service, |
47 PasswordStore* password_store, | 47 PasswordStore* password_store, |
48 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; | 48 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; |
| 49 #if defined(ENABLE_THEMES) |
49 virtual SyncComponents CreateThemeSyncComponents( | 50 virtual SyncComponents CreateThemeSyncComponents( |
50 ProfileSyncService* profile_sync_service, | 51 ProfileSyncService* profile_sync_service, |
51 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; | 52 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; |
| 53 #endif |
52 virtual SyncComponents CreateTypedUrlSyncComponents( | 54 virtual SyncComponents CreateTypedUrlSyncComponents( |
53 ProfileSyncService* profile_sync_service, | 55 ProfileSyncService* profile_sync_service, |
54 history::HistoryBackend* history_backend, | 56 history::HistoryBackend* history_backend, |
55 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; | 57 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; |
56 virtual SyncComponents CreateSessionSyncComponents( | 58 virtual SyncComponents CreateSessionSyncComponents( |
57 ProfileSyncService* profile_sync_service, | 59 ProfileSyncService* profile_sync_service, |
58 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; | 60 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; |
59 | 61 |
60 private: | 62 private: |
61 Profile* profile_; | 63 Profile* profile_; |
62 CommandLine* command_line_; | 64 CommandLine* command_line_; |
63 | 65 |
64 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); | 66 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); |
65 }; | 67 }; |
66 | 68 |
67 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ | 69 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ |
OLD | NEW |