removed change of prefs::kAutofillProfileEnabled
This commit is contained in:
parent
ec9868bb1e
commit
22015c8dc7
1 changed files with 3 additions and 11 deletions
|
@ -12,11 +12,11 @@ Subject: Enable android autofill
|
|||
chrome/browser/android/tab_android.h | 2 +
|
||||
.../strings/android_chrome_strings.grd | 3 +
|
||||
chrome/browser/ui/tab_helpers.cc | 6 +-
|
||||
.../autofill/core/common/autofill_prefs.cc | 7 ++-
|
||||
.../autofill/core/common/autofill_prefs.cc | 5 ++
|
||||
.../autofill/core/common/autofill_prefs.h | 1 +
|
||||
.../embedder_support/view/ContentView.java | 48 ++++++++++++++-
|
||||
.../chromium/ui/base/ViewAndroidDelegate.java | 8 +++
|
||||
13 files changed, 221 insertions(+), 4 deletions(-)
|
||||
13 files changed, 220 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/chrome/android/BUILD.gn b/chrome/android/BUILD.gn
|
||||
--- a/chrome/android/BUILD.gn
|
||||
|
@ -355,7 +355,7 @@ diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
|||
diff --git a/components/autofill/core/common/autofill_prefs.cc b/components/autofill/core/common/autofill_prefs.cc
|
||||
--- a/components/autofill/core/common/autofill_prefs.cc
|
||||
+++ b/components/autofill/core/common/autofill_prefs.cc
|
||||
@@ -135,13 +135,16 @@ const char kAutofillWalletImportStorageCheckboxState[] =
|
||||
@@ -135,6 +135,9 @@ const char kAutofillWalletImportStorageCheckboxState[] =
|
||||
const char kAutocompleteLastVersionRetentionPolicy[] =
|
||||
"autocomplete.retention_policy_last_version";
|
||||
|
||||
|
@ -365,14 +365,6 @@ diff --git a/components/autofill/core/common/autofill_prefs.cc b/components/auto
|
|||
void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
||||
// Synced prefs. Used for cross-device choices, e.g., credit card Autofill.
|
||||
registry->RegisterBooleanPref(
|
||||
prefs::kAutofillEnabledDeprecated, true,
|
||||
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
||||
registry->RegisterBooleanPref(
|
||||
- prefs::kAutofillProfileEnabled, false,
|
||||
+ prefs::kAutofillProfileEnabled, true,
|
||||
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
|
||||
registry->RegisterIntegerPref(
|
||||
prefs::kAutofillLastVersionDeduped, 0,
|
||||
@@ -167,6 +170,8 @@ void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry) {
|
||||
registry->RegisterBooleanPref(
|
||||
prefs::kAutofillCreditCardFidoAuthOfferCheckboxState, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue