third_party/gpay/src/payjs_async.js
/**
   * Prefetch paymentData to speed up loadPaymentData call. Note the provided
   * paymentDataRequest should exactly be the same as provided in
   * loadPaymentData to make the loadPaymentData call fast since current
   * web flow prefetching is based on the full request parameters.
   *
   * @param {!PaymentDataRequest} paymentDataRequest Provides necessary
   *     information to support a payment.
   */
Prefetch paymentData to speed up loadPaymentData call. Note the provided
paymentDataRequest should exactly be the same as provided in
loadPaymentData to make the loadPaymentData call fast since current
web flow prefetching is based on the full request parameters.

@param {!PaymentDataRequest} paymentDataRequest Provides necessary
information to support a payment.
Prefetch paymentData to speed up loadPaymentData call . Note the provided paymentDataRequest should exactly be the same as provided in loadPaymentData to make the loadPaymentData call fast since current web flow prefetching is based on the full request parameters . @param { !PaymentDataRequest } paymentDataRequest Provides necessary information to support a payment .
prefetchPaymentData(paymentDataRequest) {
    const errorMessage =
      validateSecureContext() || validatePaymentDataRequest(paymentDataRequest);
    if (errorMessage) {
      PaymentsAsyncClient.logDevErrorToConsole_(
        'prefetchPaymentData',
        errorMessage
      );
      return;
    }
    this.assignInternalParams_(paymentDataRequest);
    if (
      chromeSupportsPaymentRequest() &&
      !isNativeDisabledInRequest(paymentDataRequest)
    ) {
      this.delegate_.prefetchPaymentData(paymentDataRequest);
    } else {
      this.webActivityDelegate_.prefetchPaymentData(paymentDataRequest);
    }
  }
prefetchPaymentData ( paymentDataRequest ) { const errorMessage = validateSecureContext ( ) || validatePaymentDataRequest ( paymentDataRequest ) ; if ( errorMessage ) { PaymentsAsyncClient . logDevErrorToConsole_ ( 'prefetchPaymentData' , errorMessage ) ; return ; } this . assignInternalParams_ ( paymentDataRequest ) ; if ( chromeSupportsPaymentRequest ( ) && ! isNativeDisabledInRequest ( paymentDataRequest ) ) { this . delegate_ . prefetchPaymentData ( paymentDataRequest ) ; } else { this . webActivityDelegate_ . prefetchPaymentData ( paymentDataRequest ) ; } }
Prefetch paymentData to speed up loadPaymentData call.
Prefetch paymentData to speed up loadPaymentData call .
/** @type {?string} */ // For non chrome supports always use the hosting page.