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

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: Nits Created 5 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/browser/resources/options/password_manager_list.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4a1a8b576969de4dbee29778156e171720097c6f 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(), ' '));
}
+ const GURL& federation_url = password_list[i]->federation_url;
+ if (!federation_url.is_empty()) {
+ entry->AppendString(l10n_util::GetStringFUTF16(
+ IDS_PASSWORDS_VIA_FEDERATION,
+ base::UTF8ToUTF16(federation_url.host())));
+ }
entries.Append(entry);
}
« no previous file with comments | « chrome/browser/resources/options/password_manager_list.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698