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

Unified Diff: components/payments/content/payment_request.h

Issue 2789093002: [Payments] Desktop: implement shipping address/option change (Closed)
Patch Set: compile fix Created 3 years, 9 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 | « chrome/test/BUILD.gn ('k') | components/payments/content/payment_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/content/payment_request.h
diff --git a/components/payments/content/payment_request.h b/components/payments/content/payment_request.h
index fdfec343216ffcb458396fd4930d5b742b409077..55a16f3f1215057ca95cc5f80d27ca9db86427fb 100644
--- a/components/payments/content/payment_request.h
+++ b/components/payments/content/payment_request.h
@@ -55,16 +55,19 @@ class PaymentRequest : public mojom::PaymentRequest,
mojom::PaymentDetailsPtr details,
mojom::PaymentOptionsPtr options) override;
void Show() override;
- void UpdateWith(mojom::PaymentDetailsPtr details) override {}
+ void UpdateWith(mojom::PaymentDetailsPtr details) override;
void Abort() override;
void Complete(mojom::PaymentComplete result) override;
void CanMakePayment() override;
// PaymentRequestSpec::Observer:
+ void OnSpecUpdated() override {}
void OnInvalidSpecProvided() override;
// PaymentRequestState::Delegate:
void OnPaymentResponseAvailable(mojom::PaymentResponsePtr response) override;
+ void OnShippingOptionIdSelected(std::string shipping_option_id) override;
+ void OnShippingAddressSelected(mojom::PaymentAddressPtr address) override;
// Called when the user explicitely cancelled the flow. Will send a message
// to the renderer which will indirectly destroy this object (through
« no previous file with comments | « chrome/test/BUILD.gn ('k') | components/payments/content/payment_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698