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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "chrome/browser/sync/profile_sync_factory.h" | 10 #include "chrome/browser/sync/profile_sync_factory.h" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 | 49 |
50 virtual SyncComponents CreateThemeSyncComponents( | 50 virtual SyncComponents CreateThemeSyncComponents( |
51 ProfileSyncService* profile_sync_service, | 51 ProfileSyncService* profile_sync_service, |
52 browser_sync::UnrecoverableErrorHandler* error_handler); | 52 browser_sync::UnrecoverableErrorHandler* error_handler); |
53 | 53 |
54 virtual SyncComponents CreateTypedUrlSyncComponents( | 54 virtual SyncComponents CreateTypedUrlSyncComponents( |
55 ProfileSyncService* profile_sync_service, | 55 ProfileSyncService* profile_sync_service, |
56 history::HistoryBackend* history_backend, | 56 history::HistoryBackend* history_backend, |
57 browser_sync::UnrecoverableErrorHandler* error_handler); | 57 browser_sync::UnrecoverableErrorHandler* error_handler); |
58 | 58 |
| 59 virtual SyncComponents CreateSessionSyncComponents( |
| 60 ProfileSyncService* profile_sync_service, |
| 61 browser_sync::UnrecoverableErrorHandler* error_handler); |
| 62 |
59 private: | 63 private: |
60 Profile* profile_; | 64 Profile* profile_; |
61 CommandLine* command_line_; | 65 CommandLine* command_line_; |
62 | 66 |
63 DISALLOW_COPY_AND_ASSIGN(ProfileSyncFactoryImpl); | 67 DISALLOW_COPY_AND_ASSIGN(ProfileSyncFactoryImpl); |
64 }; | 68 }; |
65 | 69 |
66 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ | 70 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ |
OLD | NEW |