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

Unified Diff: chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc

Issue 1860783004: Make the saved password website link-able. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-password-observer.gitbr
Patch Set: rebase Created 4 years, 8 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 | « no previous file | chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc
diff --git a/chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc b/chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc
index 9d28dc6866863207f4dce1ef467344cf85d8c159..f17f7d33bdadff45fab98ca4e51b5706e7939fce 100644
--- a/chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc
+++ b/chrome/browser/extensions/api/passwords_private/passwords_private_delegate_impl.cc
@@ -165,6 +165,7 @@ void PasswordsPrivateDelegateImpl::SetPasswordList(
entry.login_pair.origin_url =
password_manager::GetHumanReadableOrigin(*form);
entry.login_pair.username = base::UTF16ToUTF8(form->username_value);
+ entry.link_url = form->origin.spec();
entry.num_characters_in_password = form->password_value.length();
if (!form->federation_origin.unique()) {
« no previous file with comments | « no previous file | chrome/browser/resources/settings/passwords_and_forms_page/passwords_section.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698