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

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

Issue 1540423004: Add card details and legal message to Android save credit card infobar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: components/autofill review. Created 4 years, 11 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_cc_infobar_delegate.h
diff --git a/components/autofill/core/browser/autofill_cc_infobar_delegate.h b/components/autofill/core/browser/autofill_cc_infobar_delegate.h
index 8e50a052ffe3170744bc93b2323f58013b58a1a7..7323dac3ec2d53fe765855fe1e93d9246c8cbae0 100644
--- a/components/autofill/core/browser/autofill_cc_infobar_delegate.h
+++ b/components/autofill/core/browser/autofill_cc_infobar_delegate.h
@@ -39,25 +39,29 @@ class AutofillCCInfoBarDelegate : public ConfirmInfoBarDelegate {
}
#endif
- private:
+ ~AutofillCCInfoBarDelegate() override;
+
+ // ConfirmInfoBarDelegate:
+ int GetIconId() const override;
+ base::string16 GetMessageText() const override;
+ base::string16 GetLinkText() const override;
+
+ protected:
AutofillCCInfoBarDelegate(bool upload,
const base::Closure& save_card_callback);
- ~AutofillCCInfoBarDelegate() override;
+ private:
void LogUserAction(AutofillMetrics::InfoBarMetric user_action);
// ConfirmInfoBarDelegate:
Type GetInfoBarType() const override;
infobars::InfoBarDelegate::InfoBarIdentifier GetIdentifier() const override;
- int GetIconId() const override;
gfx::VectorIconId GetVectorIconId() const override;
bool ShouldExpire(const NavigationDetails& details) const override;
void InfoBarDismissed() override;
- base::string16 GetMessageText() const override;
base::string16 GetButtonLabel(InfoBarButton button) const override;
bool Accept() override;
bool Cancel() override;
- base::string16 GetLinkText() const override;
GURL GetLinkURL() const override;
bool upload_;
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | components/autofill/core/browser/autofill_cc_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698