diff options
author | lipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-16 07:15:53 +0000 |
---|---|---|
committer | lipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-16 07:15:53 +0000 |
commit | a0bc3146a8657b2d47d4d883ac16946b0489a8d0 (patch) | |
tree | b4c926fbffd5f12130ec82e7e2d2e50760e286d0 /chrome/common | |
parent | 351e326d2e335db14f44edfc7bc69aa37133dd92 (diff) | |
download | chromium_src-a0bc3146a8657b2d47d4d883ac16946b0489a8d0.zip chromium_src-a0bc3146a8657b2d47d4d883ac16946b0489a8d0.tar.gz chromium_src-a0bc3146a8657b2d47d4d883ac16946b0489a8d0.tar.bz2 |
Rest of the autofill work.
Includes
1. change processor.
2. Migrating code.
3. new datatype registration/enabling/disabling from the UI. (It is keyed off of autofill datatype).
Review URL: http://codereview.chromium.org/5159001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69382 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/chrome_switches.cc | 3 | ||||
-rw-r--r-- | chrome/common/chrome_switches.h | 1 | ||||
-rw-r--r-- | chrome/common/pref_names.cc | 5 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 2 |
4 files changed, 11 insertions, 0 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc index 7ffea8b..dceb5b6 100644 --- a/chrome/common/chrome_switches.cc +++ b/chrome/common/chrome_switches.cc @@ -318,6 +318,9 @@ const char kDisableSyncApps[] = "disable-sync-apps"; // Disable syncing of autofill. const char kDisableSyncAutofill[] = "disable-sync-autofill"; +// Disable syncing of autofill Profile. +const char kDisableSyncAutofillProfile[] = "disable-sync-autofill-profile"; + // Disable syncing of bookmarks. const char kDisableSyncBookmarks[] = "disable-sync-bookmarks"; diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h index 3d19dc9..5fb168d 100644 --- a/chrome/common/chrome_switches.h +++ b/chrome/common/chrome_switches.h @@ -101,6 +101,7 @@ extern const char kDisableSSLFalseStart[]; extern const char kDisableSync[]; extern const char kDisableSyncApps[]; extern const char kDisableSyncAutofill[]; +extern const char kDisableSyncAutofillProfile[]; extern const char kDisableSyncBookmarks[]; extern const char kDisableSyncExtensions[]; extern const char kDisableSyncPreferences[]; diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index 44faf37..cd56cff 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -1001,6 +1001,7 @@ const char kSyncPasswords[] = "sync.passwords"; const char kSyncPreferences[] = "sync.preferences"; const char kSyncApps[] = "sync.apps"; const char kSyncAutofill[] = "sync.autofill"; +const char kSyncAutofillProfile[] = "sync.autofill_profile"; const char kSyncThemes[] = "sync.themes"; const char kSyncTypedUrls[] = "sync.typed_urls"; const char kSyncExtensions[] = "sync.extensions"; @@ -1018,6 +1019,10 @@ const char kSyncSuppressStart[] = "sync.suppress_start"; // user settings DB to the token service. const char kSyncCredentialsMigrated[] = "sync.credentials_migrated"; +// Boolean to represent whether the legacy autofill profile data has been +// migrated to the new model. +const char kAutofillProfileMigrated[] = "sync.autofill_migrated"; + // A string that can be used to restore sync encryption infrastructure on // startup so that the user doesn't need to provide credentials on each start. const char kEncryptionBootstrapToken[] = "sync.encryption_bootstrap_token"; diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 5ea454d..613711d 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -370,6 +370,7 @@ extern const char kSyncPasswords[]; extern const char kSyncPreferences[]; extern const char kSyncApps[]; extern const char kSyncAutofill[]; +extern const char kSyncAutofillProfile[]; extern const char kSyncThemes[]; extern const char kSyncTypedUrls[]; extern const char kSyncExtensions[]; @@ -379,6 +380,7 @@ extern const char kGoogleServicesUsername[]; extern const char kSyncCredentialsMigrated[]; extern const char kSyncUsingSecondaryPassphrase[]; extern const char kEncryptionBootstrapToken[]; +extern const char kAutofillProfileMigrated[]; extern const char kWebAppCreateOnDesktop[]; extern const char kWebAppCreateInAppsMenu[]; |