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

Unified Diff: chrome/browser/ui/webui/options/password_manager_handler.cc

Issue 960493004: Support federated credentials in Chrome settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/webui/options/password_manager_handler.cc
diff --git a/chrome/browser/ui/webui/options/password_manager_handler.cc b/chrome/browser/ui/webui/options/password_manager_handler.cc
index 6631844339c6465d06887fc9b92c39419efe2e8e..77b249ae3bebe10f509c14520ea2d436e7ef8cac 100644
--- a/chrome/browser/ui/webui/options/password_manager_handler.cc
+++ b/chrome/browser/ui/webui/options/password_manager_handler.cc
@@ -202,6 +202,12 @@ void PasswordManagerHandler::SetPasswordList(
entry->AppendString(
base::string16(password_list[i]->password_value.length(), ' '));
}
Dan Beam 2015/03/03 22:49:54 nit: const GURL& federation_url = password_list
+ entry->AppendString(
+ password_list[i]->federation_url.is_empty()
+ ? base::string16()
+ : l10n_util::GetStringFUTF16(
+ IDS_PASSWORDS_VIA_FEDERATION,
+ base::UTF8ToUTF16(password_list[i]->federation_url.host())));
entries.Append(entry);
}

Powered by Google App Engine
This is Rietveld 408576698