Commit 8b2f729d authored by vabr's avatar vabr Committed by Commit bot

[Password Manager] Fix bug in IsEnabledSmartLockBranding

R=engedy@chromium.org

BUG=400674, 486739

Review URL: https://codereview.chromium.org/1139953004

Cr-Commit-Position: refs/heads/master@{#330119}
parent 20daf9a1
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment