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

Unified Diff: components/password_manager/content/browser/credential_manager_impl.cc

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Mac fixes Created 3 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: components/password_manager/content/browser/credential_manager_impl.cc
diff --git a/components/password_manager/content/browser/credential_manager_impl.cc b/components/password_manager/content/browser/credential_manager_impl.cc
index fcd6940a168aeee27ab1721c875dce1923789d2c..e784e5d3b1679bd04190b4570c972e4a0385a246 100644
--- a/components/password_manager/content/browser/credential_manager_impl.cc
+++ b/components/password_manager/content/browser/credential_manager_impl.cc
@@ -100,7 +100,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.
@@ -238,7 +238,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);

Powered by Google App Engine
This is Rietveld 408576698