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_IMPL_H__ | 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ |
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ | 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "chrome/browser/sync/profile_sync_factory.h" | 9 #include "chrome/browser/sync/profile_sync_factory.h" |
10 | 10 |
(...skipping 23 matching lines...) Expand all Loading... |
34 virtual SyncComponents CreateAutofillSyncComponents( | 34 virtual SyncComponents CreateAutofillSyncComponents( |
35 ProfileSyncService* profile_sync_service, | 35 ProfileSyncService* profile_sync_service, |
36 WebDatabase* web_database, | 36 WebDatabase* web_database, |
37 PersonalDataManager* personal_data, | 37 PersonalDataManager* personal_data, |
38 browser_sync::UnrecoverableErrorHandler* error_handler); | 38 browser_sync::UnrecoverableErrorHandler* error_handler); |
39 | 39 |
40 virtual SyncComponents CreateBookmarkSyncComponents( | 40 virtual SyncComponents CreateBookmarkSyncComponents( |
41 ProfileSyncService* profile_sync_service, | 41 ProfileSyncService* profile_sync_service, |
42 browser_sync::UnrecoverableErrorHandler* error_handler); | 42 browser_sync::UnrecoverableErrorHandler* error_handler); |
43 | 43 |
| 44 virtual SyncComponents CreatePasswordSyncComponents( |
| 45 ProfileSyncService* profile_sync_service, |
| 46 PasswordStore* password_store, |
| 47 browser_sync::UnrecoverableErrorHandler* error_handler); |
| 48 |
44 virtual SyncComponents CreatePreferenceSyncComponents( | 49 virtual SyncComponents CreatePreferenceSyncComponents( |
45 ProfileSyncService* profile_sync_service, | 50 ProfileSyncService* profile_sync_service, |
46 browser_sync::UnrecoverableErrorHandler* error_handler); | 51 browser_sync::UnrecoverableErrorHandler* error_handler); |
47 | 52 |
48 virtual SyncComponents CreateThemeSyncComponents( | 53 virtual SyncComponents CreateThemeSyncComponents( |
49 ProfileSyncService* profile_sync_service, | 54 ProfileSyncService* profile_sync_service, |
50 browser_sync::UnrecoverableErrorHandler* error_handler); | 55 browser_sync::UnrecoverableErrorHandler* error_handler); |
51 | 56 |
52 virtual SyncComponents CreateTypedUrlSyncComponents( | 57 virtual SyncComponents CreateTypedUrlSyncComponents( |
53 ProfileSyncService* profile_sync_service, | 58 ProfileSyncService* profile_sync_service, |
54 history::HistoryBackend* history_backend, | 59 history::HistoryBackend* history_backend, |
55 browser_sync::UnrecoverableErrorHandler* error_handler); | 60 browser_sync::UnrecoverableErrorHandler* error_handler); |
56 | 61 |
57 private: | 62 private: |
58 Profile* profile_; | 63 Profile* profile_; |
59 chrome_common_net::NetworkChangeNotifierThread* | 64 chrome_common_net::NetworkChangeNotifierThread* |
60 network_change_notifier_thread_; | 65 network_change_notifier_thread_; |
61 CommandLine* command_line_; | 66 CommandLine* command_line_; |
62 | 67 |
63 DISALLOW_COPY_AND_ASSIGN(ProfileSyncFactoryImpl); | 68 DISALLOW_COPY_AND_ASSIGN(ProfileSyncFactoryImpl); |
64 }; | 69 }; |
65 | 70 |
66 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ | 71 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ |
OLD | NEW |