| 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 37d62824771f4d4c8de6956979b3e974b45cdfe4..05c0f04946fd0fda01fee71ca5864b80b5e8b602 100644
|
| --- a/components/payments/content/payment_request_state.h
|
| +++ b/components/payments/content/payment_request_state.h
|
| @@ -130,6 +130,12 @@ class PaymentRequestState : public PaymentResponseHelper::Delegate {
|
| void AddAutofillPaymentInstrument(bool selected,
|
| const autofill::CreditCard& card);
|
|
|
| + // Creates and adds an AutofillProfile as a shipping profile, which makes a
|
| + // copy of |profile|. |selected| indicates if the newly-created shipping
|
| + // profile should be selected, after which observers will be notified.
|
| + void AddAutofillShippingProfile(bool selected,
|
| + const autofill::AutofillProfile& profile);
|
| +
|
| // Setters to change the selected information. Will have the side effect of
|
| // recomputing "is ready to pay" and notify observers.
|
| void SetSelectedShippingOption(const std::string& shipping_option_id);
|
|
|