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

Unified Diff: components/password_manager/core/browser/password_bubble_experiment.cc

Issue 1917813002: [Smart Lock] Fix "turn off" button in auto-signin first run experience. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 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
« no previous file with comments | « chrome/browser/password_manager/auto_signin_first_run_dialog_android_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_bubble_experiment.cc
diff --git a/components/password_manager/core/browser/password_bubble_experiment.cc b/components/password_manager/core/browser/password_bubble_experiment.cc
index 6c9d60f923863c27b9bf8f1dbe7d7f29202cddc5..51717873430a3bd9eb7fdfde83711bac27dbb814 100644
--- a/components/password_manager/core/browser/password_bubble_experiment.cc
+++ b/components/password_manager/core/browser/password_bubble_experiment.cc
@@ -93,8 +93,8 @@ void RecordAutoSignInPromptFirstRunExperienceWasShown(PrefService* prefs) {
}
void TurnOffAutoSignin(PrefService* prefs) {
- prefs->SetBoolean(
- password_manager::prefs::kWasAutoSignInFirstRunExperienceShown, true);
+ prefs->SetBoolean(password_manager::prefs::kCredentialsEnableAutosignin,
+ false);
}
} // namespace password_bubble_experiment
« no previous file with comments | « chrome/browser/password_manager/auto_signin_first_run_dialog_android_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698