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

Unified Diff: chrome/browser/ui/views/passwords/manage_password_items_view.cc

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Update new uses post-rebase Created 3 years, 4 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/views/passwords/manage_password_items_view.cc
diff --git a/chrome/browser/ui/views/passwords/manage_password_items_view.cc b/chrome/browser/ui/views/passwords/manage_password_items_view.cc
index cb6285d15e684aa1eb13dde2a71b98b10ec47801..0871c89f6a44fb1705011dc1225b54da968cda47 100644
--- a/chrome/browser/ui/views/passwords/manage_password_items_view.cc
+++ b/chrome/browser/ui/views/passwords/manage_password_items_view.cc
@@ -127,14 +127,14 @@ std::unique_ptr<views::Textfield> GenerateUsernameEditable(
std::unique_ptr<views::Label> GeneratePasswordLabel(
const autofill::PasswordForm& form) {
base::string16 text =
- form.federation_origin.unique()
+ form.federation_origin.opaque()
? form.password_value
: l10n_util::GetStringFUTF16(
IDS_PASSWORDS_VIA_FEDERATION,
base::UTF8ToUTF16(form.federation_origin.host()));
auto label = base::MakeUnique<views::Label>(text, CONTEXT_DEPRECATED_SMALL);
label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
- if (form.federation_origin.unique())
+ if (form.federation_origin.opaque())
label->SetObscured(true);
return label;
}
« no previous file with comments | « chrome/browser/ui/passwords/password_manager_presenter.cc ('k') | chrome/browser/ui/webui/site_settings_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698