Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1242)

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java

Issue 2739033004: Send origin of the iframe browsing context (Closed)
Patch Set: Really fix serviceworker part Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java
index 6cc0258aec3aef6c460c7eb0134da7dafe0d8451..5f199ec99691983cbec0a14182601687f7bc8547 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestTestBase.java
@@ -930,7 +930,8 @@ abstract class PaymentRequestTestBase extends ChromeActivityTestCaseBase<ChromeT
@Override
public void getInstruments(Map<String, PaymentMethodData> methodData, String origin,
- byte[][] certificateChain, InstrumentsCallback instrumentsCallback) {
+ String iframeOrigin, byte[][] certificateChain,
+ InstrumentsCallback instrumentsCallback) {
mCallback = instrumentsCallback;
respond();
}
@@ -995,9 +996,10 @@ abstract class PaymentRequestTestBase extends ChromeActivityTestCaseBase<ChromeT
}
@Override
- public void invokePaymentApp(String merchantName, String origin, byte[][] certificateChain,
- Map<String, PaymentMethodData> methodData, PaymentItem total,
- List<PaymentItem> displayItems, Map<String, PaymentDetailsModifier> modifiers,
+ public void invokePaymentApp(String merchantName, String origin, String iframeOrigin,
+ byte[][] certificateChain, Map<String, PaymentMethodData> methodData,
+ PaymentItem total, List<PaymentItem> displayItems,
+ Map<String, PaymentDetailsModifier> modifiers,
InstrumentDetailsCallback detailsCallback) {
detailsCallback.onInstrumentDetailsReady(
mMethodName, "{\"transaction\": 1337}");
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentInstrument.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698