Chromium Code Reviews| Index: components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.h |
| diff --git a/components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.h b/components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.h |
| index d1a0d2297b8be651f8e53a7ce59c01caeab6f5d2..93bd99d13fd11372708f8c2af28cfd90aee2aa37 100644 |
| --- a/components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.h |
| +++ b/components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.h |
| @@ -45,6 +45,9 @@ class AutofillSaveCardInfoBarDelegateMobile : public ConfirmInfoBarDelegate { |
| // Called when a link in the legal message text was clicked. |
| void OnLegalMessageLinkClicked(GURL url); |
| + // Ensures the InfoBar is not shown if legal messages failed to parse. |
|
Mathieu
2017/06/20 00:36:21
maybe note that legal messages are only specified
Jared Saul
2017/06/20 20:51:27
Done.
|
| + bool LegalMessagesParsedSuccessfully(); |
| + |
| // ConfirmInfoBarDelegate: |
| int GetIconId() const override; |
| base::string16 GetMessageText() const override; |