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

Unified Diff: chrome/browser/password_manager/account_chooser_dialog_android.cc

Issue 1837043003: Add a title for the account chooser for one credential displayed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/passwords/manage_passwords_view_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/account_chooser_dialog_android.cc
diff --git a/chrome/browser/password_manager/account_chooser_dialog_android.cc b/chrome/browser/password_manager/account_chooser_dialog_android.cc
index 2df638258e2d0c113f0f933c3bc2640e1e10238a..55478fb51a9750dcd0731e7c354fbfeb52629064 100644
--- a/chrome/browser/password_manager/account_chooser_dialog_android.cc
+++ b/chrome/browser/password_manager/account_chooser_dialog_android.cc
@@ -128,8 +128,9 @@ void AccountChooserDialogAndroid::ShowDialog() {
Profile::FromBrowserContext(web_contents_->GetBrowserContext())));
base::string16 title;
gfx::Range title_link_range = gfx::Range();
- GetAccountChooserDialogTitleTextAndLinkRange(is_smartlock_branding_enabled,
- &title, &title_link_range);
+ GetAccountChooserDialogTitleTextAndLinkRange(
+ is_smartlock_branding_enabled, local_credentials_forms().size() > 1,
+ &title, &title_link_range);
gfx::NativeWindow native_window = web_contents_->GetTopLevelNativeWindow();
size_t credential_array_size =
local_credentials_forms().size() + federated_credentials_forms().size();
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/passwords/manage_passwords_view_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698