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

Issue 2925053002: Revert of [Payment Request] Moves PaymentRequestViewController to :payments_ui (Closed)

Created:
3 years, 6 months ago by alex clarke (OOO till 29th)
Modified:
3 years, 6 months ago
Reviewers:
lpromero, Moe
CC:
chromium-reviews, gogerald+paymentswatch_chromium.org, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, mahmadi+paymentsioswatch_chromium.org, mahmadi+paymentswatch_chromium.org, marq+watch_chromium.org, noyau+watch_chromium.org, rouslan+payments_chromium.org, sebsg+paymentswatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of [Payment Request] Moves PaymentRequestViewController to :payments_ui (patchset #2 id:20001 of https://codereview.chromium.org/2924663003/ ) Reason for revert: I'm not really sure why the CQ let this patch land but it's blocking (entirely unrelated) commits, see below: """ to /b/build/slave/ios-device/build/src/out/Release-iphoneos/args.gn. /b/build/slave/ios-device/build/src/buildtools/mac/gn gen //out/Release-iphoneos --check -> returned 1 ERROR at //ios/chrome/browser/ui/payments/payment_request_mediator_unittest.mm:17:11: Can't include this header from here. #include "components/signin/core/browser/signin_manager.h" ^---------------------------------------------- The target: //ios/chrome/browser/ui/payments:unit_tests is including a file from the target: //components/signin/core/browser:browser It's usually best to depend directly on the destination target. In some cases, the destination target is considered a subcomponent of an intermediate target. In this case, the intermediate target should depend publicly on the destination to forward the ability to include headers. Dependency chain (there may also be others): //ios/chrome/browser/ui/payments:unit_tests --> //ios/chrome/browser/ui/payments:payments --[private]--> //components/signin/core/browser:browser E.g. https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Ftryserver.chromium.mac%2Fios-device%2F226891%2F%2B%2Frecipes%2Fsteps%2Fgenerate_build_files__mb___with_patch_%2F0%2Fstdout ___________________ Original issue's description: > [Payment Request] Moves PaymentRequestViewController to :payments_ui > > * Moves PaymentRequestViewControllerDataSource to its own file. > * Moves chrome related logic (creation of the model items) to mediator. > * Moves the PaymentRequestViewController to the :payments_ui target. > * Adds unit tests for the view controller and the mediator. > * Adds methods needed by the tests to the TestPaymentRequest. > > BUG=602666 > > Review-Url: https://codereview.chromium.org/2924663003 > Cr-Commit-Position: refs/heads/master@{#477517} > Committed: https://chromium.googlesource.com/chromium/src/+/7de77b49cab72134899a55afd0dde19cefbd8af8 TBR=lpromero@chromium.org,mahmadi@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=602666 Review-Url: https://codereview.chromium.org/2925053002 Cr-Commit-Position: refs/heads/master@{#477585} Committed: https://chromium.googlesource.com/chromium/src/+/cef722cc47710f102fcbccdb79cde49a9087b05e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+506 lines, -1230 lines) Patch
M ios/chrome/browser/payments/payment_request.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/payments/test_payment_request.h View 2 chunks +0 lines, -19 lines 0 comments Download
M ios/chrome/browser/payments/test_payment_request.mm View 1 chunk +0 lines, -12 lines 0 comments Download
M ios/chrome/browser/ui/payments/BUILD.gn View 3 chunks +3 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_coordinator.mm View 9 chunks +23 lines, -20 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_mediator.h View 1 chunk +1 line, -11 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_mediator.mm View 1 chunk +5 lines, -256 lines 0 comments Download
D ios/chrome/browser/ui/payments/payment_request_mediator_unittest.mm View 1 chunk +0 lines, -419 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_view_controller.h View 3 chunks +39 lines, -12 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_view_controller.mm View 15 chunks +331 lines, -185 lines 0 comments Download
D ios/chrome/browser/ui/payments/payment_request_view_controller_data_source.h View 1 chunk +0 lines, -64 lines 0 comments Download
M ios/chrome/browser/ui/payments/payment_request_view_controller_unittest.mm View 8 chunks +103 lines, -226 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
alex clarke (OOO till 29th)
Created Revert of [Payment Request] Moves PaymentRequestViewController to :payments_ui
3 years, 6 months ago (2017-06-07 08:59:59 UTC) #2
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/2925053002/1
3 years, 6 months ago (2017-06-07 09:00:09 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/cef722cc47710f102fcbccdb79cde49a9087b05e
3 years, 6 months ago (2017-06-07 09:00:41 UTC) #6
lpromero
3 years, 6 months ago (2017-06-07 09:23:03 UTC) #7
Message was sent while issue was closed.
On 2017/06/07 09:00:41, commit-bot: I haz the power wrote:
> Committed patchset #1 (id:1) as
>
https://chromium.googlesource.com/chromium/src/+/cef722cc47710f102fcbccdb79cd...

lgtm

https://chromium-review.googlesource.com/c/527072/ was supposed to fix it.

Powered by Google App Engine
This is Rietveld 408576698