Commit 1a0289a3 authored by Liquan (Max) Gu's avatar Liquan (Max) Gu Committed by Commit Bot

[WebLayer] Rename onInstrumentDetailsLoadingWithoutUI

Since CL[1] renamed onInstrumentDetailsLoading as
onInstrumentDetailsLoadingWithoutUI, the clank build
was failed. This CL is to revert the renaming to fix
the build.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/2522954/10/components/payments/content/android/java/src/org/chromium/components/payments/PaymentApp.java

TBR=rouslan@chromium.org
NOPRESUBMIT=true

No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1146065
Change-Id: I74508a531b64785d5c906136c84861948cb4df24
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2524720Reviewed-by: default avatarLiquan (Max) Gu <maxlg@chromium.org>
Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#825217}
parent dbd091f2
......@@ -202,7 +202,7 @@ public class AutofillPaymentInstrument
mIsWaitingForFullCardDetails = false;
// Show the loading UI while the address gets normalized.
mCallback.onInstrumentDetailsLoading();
mCallback.onInstrumentDetailsLoadingWithoutUI();
// Wait for the billing address normalization before sending the instrument details.
if (!mIsWaitingForBillingNormalization) sendInstrumentDetails();
......
......@@ -121,7 +121,7 @@ public class AndroidPaymentAppUnitTest {
/*displayItems=*/new ArrayList<PaymentItem>(), modifiers, new PaymentOptions(),
new ArrayList<PaymentShippingOption>(), new PaymentApp.InstrumentDetailsCallback() {
@Override
public void onInstrumentDetailsLoading() {}
public void onInstrumentDetailsLoadingWithoutUI() {}
@Override
public void onInstrumentDetailsReady(
......
......@@ -43,7 +43,7 @@ public abstract class PaymentApp extends EditableOption {
* the payment details have not been returned yet. This is a good time to show a "loading"
* progress indicator UI.
*/
void onInstrumentDetailsLoading();
void onInstrumentDetailsLoadingWithoutUI();
/**
* Called after retrieving payment details.
......
......@@ -1229,7 +1229,7 @@ public class PaymentRequestService
// Implements PaymentApp.InstrumentDetailsCallback:
@Override
public void onInstrumentDetailsLoading() {
public void onInstrumentDetailsLoadingWithoutUI() {
if (mPaymentResponseHelper == null || mBrowserPaymentRequest == null) return;
mBrowserPaymentRequest.onInstrumentDetailsLoading();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment