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

Issue 2586213002: PaymentApp: Implement nativeGetAllAppManifests (Closed)

Created:
4 years ago by tommyt
Modified:
3 years, 11 months ago
CC:
chromium-reviews, wjmaclean, jam, gogerald+paymentswatch_chromium.org, rouslan+payments_chromium.org, darin-cc_chromium.org, agrieve+watch_chromium.org, sebsg+paymentswatch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PaymentApp: Implement nativeGetAllAppManifests This change connects the ServiceWorkerPaymentAppBridge to the service worker payment app code in content/browser/payments. This allows installed service worker payment apps to show up in the Payment Request dialog. I also replace "String scopeUrl" with "long registrationId" as the identifier for service worker payment apps. This code is protected by the kServiceWorkerPaymentApps feature flag. BUG=661608 Committed: https://crrev.com/7bff1efb9ab1ee6e7e451e697d79fb49ee5fd811 Cr-Commit-Position: refs/heads/master@{#440746}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix compile errors #

Patch Set 4 : int64_t -> jlong #

Total comments: 19

Patch Set 5 : Rebase #

Patch Set 6 : Address review comments #

Total comments: 10

Patch Set 7 : Address Bernhard's comments #

Total comments: 2

Patch Set 8 : Address comments from Bernhard and Jinho #

Patch Set 9 : Rebase #

Messages

Total messages: 50 (31 generated)
zino
Sorry, I mis-checked commit button :P
4 years ago (2016-12-19 17:50:29 UTC) #21
tommyt
PTAL!
4 years ago (2016-12-20 09:31:03 UTC) #23
please use gerrit instead
https://codereview.chromium.org/2586213002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java (right): https://codereview.chromium.org/2586213002/diff/60001/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java#newcode35 chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java:35: * The scope url of the service worker. Update ...
4 years ago (2016-12-20 16:35:42 UTC) #24
please use gerrit instead
To reassure everyone that the incomplete feature is still behind a flag, please put the ...
4 years ago (2016-12-20 16:36:36 UTC) #25
tommyt
Thank you Rouslan for a really helpful review. I have tried to address your comments ...
4 years ago (2016-12-22 12:35:25 UTC) #28
Bernhard Bauer
https://codereview.chromium.org/2586213002/diff/60001/chrome/browser/android/payments/service_worker_payment_app_bridge.cc File chrome/browser/android/payments/service_worker_payment_app_bridge.cc (right): https://codereview.chromium.org/2586213002/diff/60001/chrome/browser/android/payments/service_worker_payment_app_bridge.cc#newcode60 chrome/browser/android/payments/service_worker_payment_app_bridge.cc:60: content::WebContents::FromJavaWebContents(jweb_contents); On 2016/12/20 16:35:42, rouslan-intermittent-holidays wrote: > Check all ...
4 years ago (2016-12-22 14:03:07 UTC) #29
please use gerrit instead
LGTM after you address Bernhard's comments. He has more expertise on Android, so his suggestions ...
4 years ago (2016-12-22 14:35:27 UTC) #30
tommyt
https://codereview.chromium.org/2586213002/diff/60001/chrome/browser/android/payments/service_worker_payment_app_bridge.cc File chrome/browser/android/payments/service_worker_payment_app_bridge.cc (right): https://codereview.chromium.org/2586213002/diff/60001/chrome/browser/android/payments/service_worker_payment_app_bridge.cc#newcode60 chrome/browser/android/payments/service_worker_payment_app_bridge.cc:60: content::WebContents::FromJavaWebContents(jweb_contents); On 2016/12/22 14:03:07, Bernhard (OOO until Jan 3) ...
4 years ago (2016-12-22 15:09:35 UTC) #31
Avi (use Gerrit)
lgtm
4 years ago (2016-12-22 15:12:46 UTC) #32
zino
https://codereview.chromium.org/2586213002/diff/120001/chrome/browser/android/payments/service_worker_payment_app_bridge.cc File chrome/browser/android/payments/service_worker_payment_app_bridge.cc (right): https://codereview.chromium.org/2586213002/diff/120001/chrome/browser/android/payments/service_worker_payment_app_bridge.cc#newcode73 chrome/browser/android/payments/service_worker_payment_app_bridge.cc:73: content::BrowserContext::GetStoragePartition( I think we should use GetDefaultStoragePartition() or GetStoragePartition(browser_context, ...
4 years ago (2016-12-22 17:00:25 UTC) #33
Bernhard Bauer
LGTM with one request: https://codereview.chromium.org/2586213002/diff/60001/chrome/browser/android/payments/service_worker_payment_app_bridge.cc File chrome/browser/android/payments/service_worker_payment_app_bridge.cc (right): https://codereview.chromium.org/2586213002/diff/60001/chrome/browser/android/payments/service_worker_payment_app_bridge.cc#newcode60 chrome/browser/android/payments/service_worker_payment_app_bridge.cc:60: content::WebContents::FromJavaWebContents(jweb_contents); On 2016/12/22 15:09:35, tommyt ...
4 years ago (2016-12-22 18:08:42 UTC) #34
tommyt
Thanks everyone for reviews! https://codereview.chromium.org/2586213002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java File chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java (right): https://codereview.chromium.org/2586213002/diff/100001/chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java#newcode106 chrome/android/java/src/org/chromium/chrome/browser/payments/ServiceWorkerPaymentAppBridge.java:106: private static void onGotManifest(Manifest manifest, ...
3 years, 12 months ago (2016-12-23 10:25:49 UTC) #35
zino
lgtm
3 years, 12 months ago (2016-12-23 12:33:41 UTC) #36
zino
lgtm
3 years, 12 months ago (2016-12-23 12:33:43 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2586213002/140001
3 years, 12 months ago (2016-12-27 08:26:23 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/128124) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 12 months ago (2016-12-27 08:27:51 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2586213002/160001
3 years, 12 months ago (2016-12-27 08:37:22 UTC) #45
commit-bot: I haz the power
Committed patchset #9 (id:160001)
3 years, 12 months ago (2016-12-27 09:33:58 UTC) #48
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:45:58 UTC) #50
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/7bff1efb9ab1ee6e7e451e697d79fb49ee5fd811
Cr-Commit-Position: refs/heads/master@{#440746}

Powered by Google App Engine
This is Rietveld 408576698