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

Issue 2713033004: Layered component for web payments (Closed)

Created:
3 years, 10 months ago by please use gerrit instead
Modified:
3 years, 9 months ago
CC:
chromium-reviews, pkl (ping after 24h if needed), qsr+mojo_chromium.org, droger+watchlist_chromium.org, viettrungluu+watch_chromium.org, blundell+watchlist_chromium.org, blink-reviews, browser-components-watch_chromium.org, yzshen+watch_chromium.org, noyau+watch_chromium.org, agrieve+watch_chromium.org, marq+watch_chromium.org, kinuko+watch, jsbell+serviceworker_chromium.org, sebsg+autofillwatch_chromium.org, sdefresne+watchlist_chromium.org, jam, abarth-chromium, dglazkov+blink, darin-cc_chromium.org, rogerm+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, tzik, gogerald+paymentswatch_chromium.org, blink-worker-reviews_chromium.org, mlamouri+watch-content_chromium.org, rouslan+autofill_chromium.org, nhiroki, rouslan+payments_chromium.org, horo+watch_chromium.org, sdefresne+watch_chromium.org, michaeln, shimazu+serviceworker_chromium.org, mathp+autofillwatch_chromium.org, tfarina, mahmadi+paymentsioswatch_chromium.org, serviceworker-reviews, jbudorick+watch_chromium.org, blink-reviews-api_chromium.org, Aaron Boodman, kinuko+serviceworker, mikecase+watch_chromium.org, mahmadi+paymentswatch_chromium.org, estade+watch_chromium.org, darin (slow to review), sebsg+paymentswatch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Layered component for web payments This patch splits up //components/payments into two layers to accommodate usage in iOS. //components/payments/core - Can be used from iOS. //components/payments/content - Cannot be used from iOS. Based on layering instructions: https://www.chromium.org/developers/design-documents/structure-of-layered-components-within-the-chromium-codebase BUG=679381 Review-Url: https://codereview.chromium.org/2713033004 Cr-Commit-Position: refs/heads/master@{#453344} Committed: https://chromium.googlesource.com/chromium/src/+/908248cbb5439c9a2ca5150688d641982857000a

Patch Set 1 #

Patch Set 2 : Rebase on top of http://crrev.com/2717933004 #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -2872 lines) Patch
M chrome/android/BUILD.gn View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/BUILD.gn View 1 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/android/payments/service_worker_payment_app_bridge.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autofill/android/personal_data_manager_android.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/payments/chrome_payment_request_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/payments/chrome_payment_request_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/payments/payment_request_factory.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/payments/payment_request_factory.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/payments/credit_card_editor_view_controller.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/payments/editor_view_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/payments/order_summary_view_controller.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_method_view_controller.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/payments/payment_method_view_controller_interactive_uitest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/payments/payment_request_credit_card_editor_interactive_uitest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/payments/payment_request_dialog_view.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/payments/payment_request_interactive_uitest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/payments/payment_request_interactive_uitest_base.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_sheet_view_controller.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/payments/shipping_list_view_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/BUILD.gn View 2 chunks +2 lines, -1 line 0 comments Download
D components/payments/BUILD.gn View 1 chunk +0 lines, -96 lines 0 comments Download
D components/payments/DEPS View 1 chunk +0 lines, -9 lines 0 comments Download
M components/payments/OWNERS View 1 chunk +0 lines, -3 lines 0 comments Download
D components/payments/address_normalizer.h View 1 chunk +0 lines, -81 lines 0 comments Download
D components/payments/address_normalizer.cc View 1 chunk +0 lines, -165 lines 0 comments Download
D components/payments/address_normalizer_unittest.cc View 1 chunk +0 lines, -184 lines 0 comments Download
D components/payments/android/BUILD.gn View 1 chunk +0 lines, -28 lines 0 comments Download
D components/payments/android/DEPS View 1 chunk +0 lines, -3 lines 0 comments Download
D components/payments/android/currency_formatter_android.h View 1 chunk +0 lines, -51 lines 0 comments Download
D components/payments/android/currency_formatter_android.cc View 1 chunk +0 lines, -73 lines 0 comments Download
D components/payments/android/payments_jni_registrar.h View 1 chunk +0 lines, -12 lines 0 comments Download
D components/payments/android/payments_jni_registrar.cc View 1 chunk +0 lines, -35 lines 0 comments Download
A + components/payments/content/BUILD.gn View 4 chunks +22 lines, -31 lines 0 comments Download
A components/payments/content/DEPS View 1 chunk +6 lines, -0 lines 0 comments Download
A + components/payments/content/OWNERS View 1 chunk +0 lines, -3 lines 0 comments Download
A + components/payments/content/android/BUILD.gn View 1 chunk +6 lines, -4 lines 0 comments Download
A + components/payments/content/android/DEPS View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/payments/content/android/currency_formatter_android.h View 2 chunks +6 lines, -4 lines 0 comments Download
A + components/payments/content/android/currency_formatter_android.cc View 1 chunk +8 lines, -6 lines 0 comments Download
A components/payments/content/android/payment_details_validation_android.h View 1 chunk +12 lines, -0 lines 0 comments Download
A + components/payments/content/android/payment_details_validation_android.cc View 1 chunk +3 lines, -3 lines 0 comments Download
A + components/payments/content/payment_app.mojom View 1 chunk +1 line, -1 line 0 comments Download
A + components/payments/content/payment_details_validation.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + components/payments/content/payment_details_validation.cc View 2 chunks +4 lines, -5 lines 0 comments Download
A + components/payments/content/payment_request.h View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
A + components/payments/content/payment_request.cc View 5 chunks +13 lines, -15 lines 0 comments Download
A + components/payments/content/payment_request.mojom View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/payments/content/payment_request_delegate.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/payments/content/payment_request_dialog.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/payments/content/payment_request_web_contents_manager.h View 2 chunks +10 lines, -2 lines 0 comments Download
A + components/payments/content/payment_request_web_contents_manager.cc View 2 chunks +7 lines, -5 lines 0 comments Download
A + components/payments/content/payments_validators.h View 2 chunks +16 lines, -12 lines 0 comments Download
A + components/payments/content/payments_validators.cc View 4 chunks +42 lines, -39 lines 0 comments Download
A + components/payments/content/payments_validators_test.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A components/payments/core/BUILD.gn View 1 chunk +39 lines, -0 lines 0 comments Download
A components/payments/core/DEPS View 1 chunk +5 lines, -0 lines 0 comments Download
A + components/payments/core/address_normalizer.h View 2 chunks +18 lines, -5 lines 0 comments Download
A + components/payments/core/address_normalizer.cc View 1 chunk +11 lines, -7 lines 0 comments Download
A + components/payments/core/address_normalizer_unittest.cc View 5 chunks +9 lines, -2 lines 0 comments Download
A + components/payments/core/currency_formatter.h View 3 chunks +7 lines, -5 lines 0 comments Download
A + components/payments/core/currency_formatter.cc View 1 chunk +2 lines, -4 lines 0 comments Download
A + components/payments/core/currency_formatter_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
D components/payments/currency_formatter.h View 1 chunk +0 lines, -59 lines 0 comments Download
D components/payments/currency_formatter.cc View 1 chunk +0 lines, -135 lines 0 comments Download
D components/payments/currency_formatter_unittest.cc View 1 chunk +0 lines, -178 lines 0 comments Download
D components/payments/payment_app.mojom View 1 chunk +0 lines, -44 lines 0 comments Download
D components/payments/payment_details_validation.h View 1 chunk +0 lines, -19 lines 0 comments Download
D components/payments/payment_details_validation.cc View 1 chunk +0 lines, -182 lines 0 comments Download
D components/payments/payment_request.h View 1 2 1 chunk +0 lines, -158 lines 0 comments Download
D components/payments/payment_request.cc View 1 chunk +0 lines, -246 lines 0 comments Download
D components/payments/payment_request.mojom View 1 chunk +0 lines, -223 lines 0 comments Download
D components/payments/payment_request_delegate.h View 1 chunk +0 lines, -34 lines 0 comments Download
D components/payments/payment_request_dialog.h View 1 chunk +0 lines, -22 lines 0 comments Download
D components/payments/payment_request_web_contents_manager.h View 1 chunk +0 lines, -61 lines 0 comments Download
D components/payments/payment_request_web_contents_manager.cc View 1 chunk +0 lines, -45 lines 0 comments Download
D components/payments/payments_validators.h View 1 chunk +0 lines, -59 lines 0 comments Download
D components/payments/payments_validators.cc View 1 chunk +0 lines, -137 lines 0 comments Download
D components/payments/payments_validators_test.cc View 1 chunk +0 lines, -280 lines 0 comments Download
M content/browser/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/payments/payment_app_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/payments/payment_app_content_unittest_base.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/payments/payment_app_context_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/payments/payment_app_database.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/payments/payment_app_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/payments/payment_app_manager_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/payments/payment_app_provider_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/payments/payment_app_provider_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/common/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M content/common/service_worker/service_worker_event_dispatcher.mojom View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/service_worker/service_worker_context_client.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/service_worker/service_worker_type_converters.h View 1 chunk +1 line, -1 line 0 comments Download
M content/test/BUILD.gn View 1 3 chunks +4 lines, -4 lines 0 comments Download
M ios/chrome/browser/DEPS View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/payments/BUILD.gn View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/payments/payment_items_display_view_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/payments/payment_request.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/payments/payment_request_unittest.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/payments/payment_request_view_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/payments/shipping_option_selection_view_controller.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/payments/resources/payment-request-mock.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentAddress.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentAppManager.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequest.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentResponse.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentTestHelper.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentsValidators.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M tools/android/eclipse/.classpath View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 38 (24 generated)
please use gerrit instead
Mathieu, ptal this tiny tweak.
3 years, 10 months ago (2017-02-24 21:13:32 UTC) #6
Mathieu
lgtm for the parts I can approve. Thanks for fixing up along the way. We ...
3 years, 10 months ago (2017-02-24 21:31:30 UTC) #7
please use gerrit instead
Brett, owners ptal.
3 years, 10 months ago (2017-02-24 21:35:28 UTC) #10
please use gerrit instead
Tom, security owners ptal mojom and type_converters.
3 years, 10 months ago (2017-02-24 21:36:42 UTC) #12
brettw
owners rs lgtm
3 years, 10 months ago (2017-02-24 22:10:03 UTC) #13
Tom Sepez
RS LGTM
3 years, 10 months ago (2017-02-24 23:06:16 UTC) #16
haraken
WebKit LGTM
3 years, 10 months ago (2017-02-25 00:36:25 UTC) #17
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/2713033004/1
3 years, 9 months ago (2017-02-27 15:30:39 UTC) #21
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/2713033004/20001
3 years, 9 months ago (2017-02-27 15:43:28 UTC) #25
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/views/payments/payment_request_credit_card_editor_interactive_uitest.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-02-27 17:23:35 UTC) #27
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/2713033004/40001
3 years, 9 months ago (2017-02-27 17:35:49 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/318853)
3 years, 9 months ago (2017-02-27 17:57:03 UTC) #32
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/2713033004/60001
3 years, 9 months ago (2017-02-27 18:48:10 UTC) #35
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 21:31:10 UTC) #38
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/908248cbb5439c9a2ca5150688d6...

Powered by Google App Engine
This is Rietveld 408576698