| 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 c9c039f3b8e76fb85693c13cdf585657c0dc4f3d..a2aecaea5c2f06acec93a9227b77efabcdce63c3 100644
|
| --- a/chrome/browser/ui/views/passwords/credentials_item_view.h
|
| +++ b/chrome/browser/ui/views/passwords/credentials_item_view.h
|
| @@ -6,6 +6,7 @@
|
| #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_ITEM_VIEW_H_
|
|
|
| #include "base/macros.h"
|
| +#include "components/autofill/core/common/password_form.h"
|
| #include "ui/views/controls/button/label_button.h"
|
|
|
| // CredentialsItemView represents a credential view in the account chooser
|
| @@ -13,10 +14,14 @@
|
| class CredentialsItemView : public views::LabelButton {
|
| public:
|
| CredentialsItemView(views::ButtonListener* button_listener,
|
| - const base::string16& text);
|
| + const autofill::PasswordForm& form);
|
| ~CredentialsItemView() override;
|
|
|
| + const autofill::PasswordForm& form() const { return form_; }
|
| +
|
| private:
|
| + autofill::PasswordForm form_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(CredentialsItemView);
|
| };
|
|
|
|
|