diff options
author | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 21:10:21 +0000 |
---|---|---|
committer | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 21:10:21 +0000 |
commit | 41ef4508ee9980a2945514ba2f913d1bf64ee326 (patch) | |
tree | bc15a721ad72de224856f229a086abfa109a0384 /chrome/browser/sync/profile_sync_factory.h | |
parent | 448644f367ad072a82d095615a98f2ab6bf2822b (diff) | |
download | chromium_src-41ef4508ee9980a2945514ba2f913d1bf64ee326.zip chromium_src-41ef4508ee9980a2945514ba2f913d1bf64ee326.tar.gz chromium_src-41ef4508ee9980a2945514ba2f913d1bf64ee326.tar.bz2 |
Added classes to enable session sync functionality.
TEST=ProfileSyncServiceSessionTest
BUG=30519
Original patch by jerrica@chromium.org
Original review: http://codereview.chromium.org/3168009
Review URL: http://codereview.chromium.org/3184004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56423 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_factory.h')
-rw-r--r-- | chrome/browser/sync/profile_sync_factory.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/sync/profile_sync_factory.h b/chrome/browser/sync/profile_sync_factory.h index dfeea8a..1ca0473 100644 --- a/chrome/browser/sync/profile_sync_factory.h +++ b/chrome/browser/sync/profile_sync_factory.h @@ -116,6 +116,13 @@ class ProfileSyncFactory { ProfileSyncService* profile_sync_service, history::HistoryBackend* history_backend, browser_sync::UnrecoverableErrorHandler* error_handler) = 0; + + // Instantiates both a model associator and change processor for the + // session data type. The pointers in the return struct are + // owned by the caller. + virtual SyncComponents CreateSessionSyncComponents( + ProfileSyncService* profile_sync_service, + browser_sync::UnrecoverableErrorHandler* error_handler) = 0; }; #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_H__ |