| Index: components/password_manager/core/common/credential_manager_types.cc
|
| diff --git a/components/password_manager/core/common/credential_manager_types.cc b/components/password_manager/core/common/credential_manager_types.cc
|
| index b3978432ea0b7e61b76b4d80c59e1c8c184c6d31..402cb9f72667b713f0f912322929aae16ef8d891 100644
|
| --- a/components/password_manager/core/common/credential_manager_types.cc
|
| +++ b/components/password_manager/core/common/credential_manager_types.cc
|
| @@ -9,6 +9,18 @@
|
|
|
| namespace password_manager {
|
|
|
| +std::ostream& operator<<(std::ostream& os, CredentialType value) {
|
| + switch (value) {
|
| + case CredentialType::CREDENTIAL_TYPE_EMPTY:
|
| + return os << "CredentialType::CREDENTIAL_TYPE_EMPTY";
|
| + case CredentialType::CREDENTIAL_TYPE_PASSWORD:
|
| + return os << "CredentialType::CREDENTIAL_TYPE_PASSWORD";
|
| + case CredentialType::CREDENTIAL_TYPE_FEDERATED:
|
| + return os << "CredentialType::CREDENTIAL_TYPE_FEDERATED";
|
| + }
|
| + return os << "Unknown CredentialType value: " << static_cast<int32_t>(value);
|
| +}
|
| +
|
| CredentialInfo::CredentialInfo() : type(CredentialType::CREDENTIAL_TYPE_EMPTY) {
|
| }
|
|
|
|
|