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

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

Issue 2049503004: Add a "not signed in" condition to the Sync promo in the password bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/password_manager/core/browser/password_bubble_experiment.h
diff --git a/components/password_manager/core/browser/password_bubble_experiment.h b/components/password_manager/core/browser/password_bubble_experiment.h
index 7e68da419f1559a3a9c7f7be1ff6f7ebe2cfef7a..f2ce04eed34104b54942619eddeb5ecf8f5596d2 100644
--- a/components/password_manager/core/browser/password_bubble_experiment.h
+++ b/components/password_manager/core/browser/password_bubble_experiment.h
@@ -74,7 +74,9 @@ void RecordAutoSignInPromptFirstRunExperienceWasShown(PrefService* prefs);
void TurnOffAutoSignin(PrefService* prefs);
// Returns true if the Chrome Sign In promo should be shown.
-bool ShouldShowChromeSignInPasswordPromo(PrefService* prefs);
+bool ShouldShowChromeSignInPasswordPromo(
+ PrefService* prefs,
+ const sync_driver::SyncService* sync_service);
} // namespace password_bubble_experiment

Powered by Google App Engine
This is Rietveld 408576698