| Index: components/payments/content/payment_request.h
|
| diff --git a/components/payments/content/payment_request.h b/components/payments/content/payment_request.h
|
| index 4613add27328af0b17270804ab8cdfe4fca24a78..adb7826bb115b5c05566c3f669878d192ce05d0b 100644
|
| --- a/components/payments/content/payment_request.h
|
| +++ b/components/payments/content/payment_request.h
|
| @@ -79,6 +79,10 @@ class PaymentRequest : public mojom::PaymentRequest,
|
| // OnConnectionTerminated).
|
| void UserCancelled();
|
|
|
| + // Called when the frame attached to this PaymentRequest is navigating away,
|
| + // but before the PaymentRequest is destroyed.
|
| + void DidStartNavigation(bool is_user_initiated);
|
| +
|
| // As a result of a browser-side error or renderer-initiated mojo channel
|
| // closure (e.g. there was an error on the renderer side, or payment was
|
| // successful), this method is called. It is responsible for cleaning up,
|
| @@ -113,6 +117,8 @@ class PaymentRequest : public mojom::PaymentRequest,
|
|
|
| JourneyLogger journey_logger_;
|
|
|
| + bool has_recorded_abort_reason_ = false;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PaymentRequest);
|
| };
|
|
|
|
|