| 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 508bd979ee1dbc4c27385fcd6a69965a95465a6b..9ff914228203d2271ad19c622810816074762d54 100644
|
| --- a/components/payments/content/payment_request_state.h
|
| +++ b/components/payments/content/payment_request_state.h
|
| @@ -124,6 +124,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);
|
|
|