Index: chrome/browser/ui/passwords/password_bubble_experiment.cc |
diff --git a/chrome/browser/ui/passwords/password_bubble_experiment.cc b/chrome/browser/ui/passwords/password_bubble_experiment.cc |
index 4402e801f685778c8e7d0651eb232e80c5c152b3..5bd1b91f33ccfa018672035e5f36b559f4ebcaed 100644 |
--- a/chrome/browser/ui/passwords/password_bubble_experiment.cc |
+++ b/chrome/browser/ui/passwords/password_bubble_experiment.cc |
@@ -26,7 +26,8 @@ void RecordBubbleClosed( |
bool IsEnabledSmartLockBranding(Profile* profile) { |
const ProfileSyncService* sync_service = |
ProfileSyncServiceFactory::GetForProfile(profile); |
- return password_manager_util::GetPasswordSyncState(sync_service) && |
+ return password_manager_util::GetPasswordSyncState(sync_service) == |
+ password_manager::SYNCING_NORMAL_ENCRYPTION && |
base::FieldTrialList::FindFullName(kBrandingExperimentName) == |
kSmartLockBrandingGroupName; |
} |