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

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

Issue 2805263003: [Payments] Selecting incomplete items will open editors (Closed)
Patch Set: Initial Created 3 years, 8 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/payments/core/autofill_payment_instrument.h
diff --git a/components/payments/core/autofill_payment_instrument.h b/components/payments/core/autofill_payment_instrument.h
index 5968a21fe50820227b11da95c2ddabe92daa7298..157259f028764fe867aa4627da1f93a35699b75a 100644
--- a/components/payments/core/autofill_payment_instrument.h
+++ b/components/payments/core/autofill_payment_instrument.h
@@ -47,6 +47,8 @@ class AutofillPaymentInstrument
const base::string16& cvc) override;
void OnFullCardRequestFailed() override;
+ autofill::CreditCard* credit_card() { return &credit_card_; }
+
private:
// A copy of the card is owned by this object.
autofill::CreditCard credit_card_;

Powered by Google App Engine
This is Rietveld 408576698