Index: chrome/browser/sync/profile_sync_service.h |
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h |
index d4cb576cf49dfb2b2ac6cc3bef32b72e41266d20..6a24ef5e42e1921b9939c81082f0285ce653a7ca 100644 |
--- a/chrome/browser/sync/profile_sync_service.h |
+++ b/chrome/browser/sync/profile_sync_service.h |
@@ -404,6 +404,13 @@ class ProfileSyncService : public browser_sync::SyncFrontend, |
// backend, telling us that it is safe to send a passphrase down ASAP. |
bool observed_passphrase_required_; |
+ // Gets all the syncable types for the current client state. Called when |
+ // Keep everything synced is checked. Currently only discriminates on |
+ // autofill profile based on whether the legacy datatype has been migrated |
+ // or not. |
+ void ProfileSyncService::GetAllSyncableTypesForCurrentClientState( |
+ syncable::ModelTypeSet* preferred_types) const; |
+ |
private: |
friend class ProfileSyncServiceTest; |
friend class ProfileSyncServicePasswordTest; |