Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Unified Diff: components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.h

Issue 2945563003: AutofillSaveCardInfoBar on mobile should not appear when legal messages don't parse correctly (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698