Index: chrome/browser/ui/views/passwords/credentials_item_view.h |
diff --git a/chrome/browser/ui/views/passwords/credentials_item_view.h b/chrome/browser/ui/views/passwords/credentials_item_view.h |
index 4ff70a1135ee3a734f143de657e1b9977fe04bc9..23939241b9a3eb791c475cb4d11c8955531a0bed 100644 |
--- a/chrome/browser/ui/views/passwords/credentials_item_view.h |
+++ b/chrome/browser/ui/views/passwords/credentials_item_view.h |
@@ -7,6 +7,7 @@ |
#include "base/macros.h" |
#include "components/autofill/core/common/password_form.h" |
+#include "components/password_manager/content/common/credential_manager_types.h" |
#include "ui/views/controls/button/label_button.h" |
namespace views { |
@@ -19,10 +20,14 @@ class Label; |
class CredentialsItemView : public views::LabelButton { |
public: |
CredentialsItemView(views::ButtonListener* button_listener, |
- const autofill::PasswordForm& form); |
+ const autofill::PasswordForm& form, |
+ password_manager::CredentialType credential_type); |
~CredentialsItemView() override; |
const autofill::PasswordForm& form() const { return form_; } |
+ password_manager::CredentialType credential_type() const { |
+ return credential_type_; |
+ } |
private: |
// views::LabelButton: |
@@ -31,6 +36,7 @@ class CredentialsItemView : public views::LabelButton { |
void Layout() override; |
autofill::PasswordForm form_; |
+ password_manager::CredentialType credential_type_; |
views::ImageView* image_view_; |
views::Label* full_name_label_; |