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

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

Issue 2759253002: [Web Payments] Implement item selection in lists. (Closed)
Patch Set: Assert back navigation in browser tests. 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
Index: components/payments/content/payment_request_state.h
diff --git a/components/payments/content/payment_request_state.h b/components/payments/content/payment_request_state.h
index edae5e88273481616c5e69889a0f867e62314fcf..ae2519f46782aacb42488d6e3032383dbb692182 100644
--- a/components/payments/content/payment_request_state.h
+++ b/components/payments/content/payment_request_state.h
@@ -5,6 +5,9 @@
#ifndef COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_STATE_H_
#define COMPONENTS_PAYMENTS_CONTENT_PAYMENT_REQUEST_STATE_H_
+#include <string>
+#include <vector>
+
#include "base/macros.h"
#include "base/observer_list.h"
#include "components/payments/content/payment_request.mojom.h"
@@ -100,6 +103,7 @@ class PaymentRequestState : public PaymentInstrument::Delegate {
// Setters to change the selected information. Will have the side effect of
// recomputing "is ready to pay" and notify observers.
+ void SetSelectedShippingOption(mojom::PaymentShippingOption* option);
void SetSelectedShippingProfile(autofill::AutofillProfile* profile);
void SetSelectedContactProfile(autofill::AutofillProfile* profile);
void SetSelectedInstrument(PaymentInstrument* instrument);

Powered by Google App Engine
This is Rietveld 408576698