Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4806)

Unified Diff: components/autofill/core/common/autofill_pref_names.cc

Issue 301343002: mac: Clean up autofill integration with Address Book. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@autofill_cleanup2_base
Patch Set: Address comments from isherman. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/common/autofill_pref_names.cc
diff --git a/components/autofill/core/common/autofill_pref_names.cc b/components/autofill/core/common/autofill_pref_names.cc
index d7385bb366b02091c4a2ff424e0459dfa904a606..e45e087997a094e5808b082eb08460682ecb30fd 100644
--- a/components/autofill/core/common/autofill_pref_names.cc
+++ b/components/autofill/core/common/autofill_pref_names.cc
@@ -27,5 +27,16 @@ const char kAutofillNegativeUploadRate[] = "autofill.negative_upload_rate";
// Double that indicates positive (for matched forms) upload rate.
const char kAutofillPositiveUploadRate[] = "autofill.positive_upload_rate";
+// Whether autofill should try to use the Mac Address Book. If this value is
Ilya Sherman 2014/06/02 22:54:27 nit: "autofill" -> "Autofill" (as it is a feature
erikchen 2014/06/03 01:34:19 Done.
+// true, then kAutofillAuxiliaryProfilesQueried is expected to be true.
Ilya Sherman 2014/06/02 22:54:27 nit: "is expected to be true" -> "is expected to a
erikchen 2014/06/03 01:34:19 Done.
+const char kAutofillUseMacAddressBook[] = "autofill.use_mac_address_book";
+
+// Whether the migration from kAutofillAuxiliaryProfilesEnabled to
+// kAutofillUseMacAddressBook has been performed. The old preference was
+// synced, and the new preference is not synced. The migration is not synced,
+// and needs to be performed once on each installed instance of Chrome.
+const char kAutofillUseMacAddressBookMigration[] =
+ "autofill.use_mac_address_book_migration";
+
} // namespace prefs
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698