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

Unified Diff: components/payments/core/payment_instrument.h

Issue 2874873002: [Payments] Record use stats after payment request completion. (Closed)
Patch Set: Removed billing address log Created 3 years, 7 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
« no previous file with comments | « components/payments/core/autofill_payment_instrument.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/core/payment_instrument.h
diff --git a/components/payments/core/payment_instrument.h b/components/payments/core/payment_instrument.h
index 608235be4eaef5f8685fdbca2c8184d34e2557b5..76686631d9fd2ae0ee3ddf8565cb52a026c6f35c 100644
--- a/components/payments/core/payment_instrument.h
+++ b/components/payments/core/payment_instrument.h
@@ -45,6 +45,8 @@ class PaymentInstrument {
// Returns whether the instrument is valid for the purposes of responding to
// canMakePayment.
virtual bool IsValidForCanMakePayment() = 0;
+ // Records the use of this payment instrument.
+ virtual void RecordUse() = 0;
const std::string& method_name() const { return method_name_; }
const base::string16& label() const { return label_; }
« no previous file with comments | « components/payments/core/autofill_payment_instrument.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698