Index: chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.h |
diff --git a/chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.h b/chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.h |
index 3ce24e40802e6b65b6c8d616c4af5985cedd4700..9c91298096691fa44475d76e7e435dccf774f8f0 100644 |
--- a/chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.h |
+++ b/chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.h |
@@ -18,8 +18,7 @@ class WebContents; |
class GeneratedPasswordSavedInfoBarDelegateAndroid |
: public infobars::InfoBarDelegate { |
public: |
- // Creates and shows the infobar. Implemented with |
- // GeneratedPasswordSavedInfoBar. |
+ // Creates and shows the infobar. Implemented in the platform-specific file. |
static void Create(content::WebContents* web_contents); |
~GeneratedPasswordSavedInfoBarDelegateAndroid() override; |
@@ -37,7 +36,8 @@ class GeneratedPasswordSavedInfoBarDelegateAndroid |
void OnInlineLinkClicked(); |
private: |
- GeneratedPasswordSavedInfoBarDelegateAndroid(); |
+ explicit GeneratedPasswordSavedInfoBarDelegateAndroid( |
+ content::WebContents* web_contents); |
// infobars::InfoBarDelegate: |
Type GetInfoBarType() const override; |
@@ -53,6 +53,11 @@ class GeneratedPasswordSavedInfoBarDelegateAndroid |
// The translated label of the button. |
base::string16 button_label_; |
+ content::WebContents* web_contents_; |
+ |
+ // If smart lock branding should be used. |
+ bool smart_lock_branding_enabled_; |
+ |
DISALLOW_COPY_AND_ASSIGN(GeneratedPasswordSavedInfoBarDelegateAndroid); |
}; |