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

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

Issue 1151373006: Update Confirmation UI for saved password change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed reviewers' comments Created 5 years, 5 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 02ea978445b1169fa485fec2e96b6f595e1dd7af..a51506578a2e86c1febda69d3acd5d8723c6180b 100644
--- a/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_view_utils.cc
@@ -39,11 +39,13 @@ void GetSavePasswordDialogTitleTextAndLinkRange(
const GURL& user_visible_url,
const GURL& form_origin_url,
bool is_smartlock_branding_enabled,
+ bool is_update_password_bubble,
base::string16* title,
gfx::Range* title_link_range) {
std::vector<size_t> offsets;
std::vector<base::string16> replacements;
- int title_id = IDS_SAVE_PASSWORD;
+ int title_id =
+ is_update_password_bubble ? IDS_UPDATE_PASSWORD : IDS_SAVE_PASSWORD;
// Check whether the registry controlled domains for user-visible URL (i.e.
// the one seen in the omnibox) and the password form post-submit navigation

Powered by Google App Engine
This is Rietveld 408576698