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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_view_utils.cc

Issue 1747003003: [Smart Lock, UI] Use correct string for the auto sign-in first run. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 10 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: chrome/browser/ui/passwords/manage_passwords_view_utils.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_view_utils.cc b/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
index dbacbcaa6d9aa3b037dd256980a6eecb3edca304..338dd3e2fabe55da821d01ba0f72017c70e26955 100644
--- a/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
@@ -173,10 +173,10 @@ base::string16 GetDisplayUsername(const autofill::PasswordForm& form) {
: form.username_value;
}
-bool IsSyncingSettings(Profile* profile) {
+bool IsSyncingAutosignSetting(Profile* profile) {
const ProfileSyncService* sync_service =
ProfileSyncServiceFactory::GetForProfile(profile);
return (sync_service && sync_service->IsFirstSetupComplete() &&
sync_service->IsSyncActive() &&
- sync_service->GetActiveDataTypes().Has(syncer::PREFERENCES));
+ sync_service->GetActiveDataTypes().Has(syncer::PRIORITY_PREFERENCES));
}

Powered by Google App Engine
This is Rietveld 408576698