Index: components/password_manager/content/common/credential_manager_types.cc |
diff --git a/components/password_manager/content/common/credential_manager_types.cc b/components/password_manager/content/common/credential_manager_types.cc |
index 61e4bca3fa10bad5f30e7fef874ada93ec76085a..c71b64a5a7dd2e4be524478ae3c852d495d4f73c 100644 |
--- a/components/password_manager/content/common/credential_manager_types.cc |
+++ b/components/password_manager/content/common/credential_manager_types.cc |
@@ -12,16 +12,17 @@ |
namespace password_manager { |
-CredentialInfo::CredentialInfo() : type(CREDENTIAL_TYPE_EMPTY) { |
+CredentialInfo::CredentialInfo() : type(CredentialType::CREDENTIAL_TYPE_EMPTY) { |
} |
CredentialInfo::CredentialInfo(const blink::WebCredential& credential) |
: id(credential.id()), |
name(credential.name()), |
avatar(credential.avatarURL()) { |
- type = credential.isLocalCredential() ? CREDENTIAL_TYPE_LOCAL |
- : CREDENTIAL_TYPE_FEDERATED; |
- if (type == CREDENTIAL_TYPE_LOCAL) { |
+ type = credential.isLocalCredential() |
+ ? CredentialType::CREDENTIAL_TYPE_LOCAL |
+ : CredentialType::CREDENTIAL_TYPE_FEDERATED; |
+ if (type == CredentialType::CREDENTIAL_TYPE_LOCAL) { |
DCHECK(credential.isLocalCredential()); |
password = static_cast<const blink::WebLocalCredential&>( |
credential).password(); |