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

Unified Diff: components/password_manager/core/browser/credential_manager_impl.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: components/password_manager/core/browser/credential_manager_impl.cc
diff --git a/components/password_manager/core/browser/credential_manager_impl.cc b/components/password_manager/core/browser/credential_manager_impl.cc
index 17b0ba65fe006fcead62d248091ada2ebf23d88a..08e7e6677c6a01ba5e7f659e04cf68bd404aec17 100644
--- a/components/password_manager/core/browser/credential_manager_impl.cc
+++ b/components/password_manager/core/browser/credential_manager_impl.cc
@@ -172,7 +172,7 @@ void CredentialManagerImpl::SendPasswordForm(
CredentialInfo info;
if (form) {
password_manager::CredentialType type_to_return =
- form->federation_origin.unique()
+ form->federation_origin.opaque()
? CredentialType::CREDENTIAL_TYPE_PASSWORD
: CredentialType::CREDENTIAL_TYPE_FEDERATED;
info = CredentialInfo(*form, type_to_return);
@@ -222,7 +222,7 @@ void CredentialManagerImpl::OnProvisionalSaveComplete() {
return;
}
- if (!form.federation_origin.unique()) {
+ if (!form.federation_origin.opaque()) {
// If this is a federated credential, check it against the federated matches
// produced by the PasswordFormManager. If a match is found, update it and
// return.

Powered by Google App Engine
This is Rietveld 408576698