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

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

Issue 1966903003: [Smart Lock] Make save prompt first run experience never appear. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 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
« no previous file with comments | « no previous file | components/password_manager/core/browser/password_bubble_experiment_unittest.cc » ('j') | 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 51717873430a3bd9eb7fdfde83711bac27dbb814..ab772cb4119a306d16e139972488537fa12ea14d 100644
--- a/components/password_manager/core/browser/password_bubble_experiment.cc
+++ b/components/password_manager/core/browser/password_bubble_experiment.cc
@@ -71,10 +71,7 @@ bool IsSmartLockBrandingSavePromptEnabled(
bool ShouldShowSavePromptFirstRunExperience(
const sync_driver::SyncService* sync_service,
PrefService* prefs) {
- const bool was_first_run_experience_shown = prefs->GetBoolean(
- password_manager::prefs::kWasSavePrompFirstRunExperienceShown);
- return IsSmartLockBrandingEnabled(sync_service) &&
- !was_first_run_experience_shown;
+ return false;
}
void RecordSavePromptFirstRunExperienceWasShown(PrefService* prefs) {
« no previous file with comments | « no previous file | components/password_manager/core/browser/password_bubble_experiment_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698