summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/profile_sync_factory.h')
-rw-r--r--chrome/browser/sync/profile_sync_factory.h7
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__