Commit 74b5e099 authored by vabr's avatar vabr Committed by Commit bot

Fix branding in the update prompt on Android

Currently, the update prompt only refers to password manager as "Smart Lock" if
the PasswordBranding experiment group is SmartLockBranding. The save prompt and
both prompts on all other platforms (desktop + iOS) also accept the group
SmartLockBrandingSavePromptOnly.

This CL fixes the Android update prompt to follow the rest.

R=dvadym@chromium.org
BUG=674969

Review-Url: https://codereview.chromium.org/2582613003
Cr-Commit-Position: refs/heads/master@{#439448}
parent f5ae60f7
...@@ -25,7 +25,7 @@ void UpdatePasswordInfoBarDelegate::Create( ...@@ -25,7 +25,7 @@ void UpdatePasswordInfoBarDelegate::Create(
content::WebContents* web_contents, content::WebContents* web_contents,
std::unique_ptr<password_manager::PasswordFormManager> form_to_save) { std::unique_ptr<password_manager::PasswordFormManager> form_to_save) {
const bool is_smartlock_branding_enabled = const bool is_smartlock_branding_enabled =
password_bubble_experiment::IsSmartLockBrandingEnabled( password_bubble_experiment::IsSmartLockBrandingSavePromptEnabled(
ProfileSyncServiceFactory::GetForProfile( ProfileSyncServiceFactory::GetForProfile(
Profile::FromBrowserContext(web_contents->GetBrowserContext()))); Profile::FromBrowserContext(web_contents->GetBrowserContext())));
InfoBarService::FromWebContents(web_contents) InfoBarService::FromWebContents(web_contents)
......
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