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

Issue 2851893002: [Payments] Record CanMakePayment metrics on Desktop. (Closed)

Created:
3 years, 7 months ago by sebsg
Modified:
3 years, 7 months ago
Reviewers:
Mathieu
CC:
chromium-reviews, tfarina, jam, gogerald+paymentswatch_chromium.org, rouslan+payments_chromium.org, darin-cc_chromium.org, mahmadi+paymentswatch_chromium.org, sebsg+paymentswatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Payments] Record CanMakePayment metrics on Desktop Plug in the JourneyLogger on the Desktop code and use it to record CanMakePayment metrics. BUG=716483 Review-Url: https://codereview.chromium.org/2851893002 Cr-Commit-Position: refs/heads/master@{#469447} Committed: https://chromium.googlesource.com/chromium/src/+/20b49d7b4fb728890b2298345326cb3f1a41f555

Patch Set 1 #

Total comments: 28

Patch Set 2 : Addressed Mathp's comments #

Total comments: 4

Patch Set 3 : Addressed comments #

Patch Set 4 : Rebase #

Patch Set 5 : Windows Fix and Rebase Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -22 lines) Patch
M chrome/browser/payments/android/journey_logger_android.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/payments/chrome_payment_request_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/payments/chrome_payment_request_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_browsertest.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_browsertest_base.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/payments/payment_request_browsertest_base.cc View 1 2 3 4 3 chunks +12 lines, -2 lines 0 comments Download
A chrome/browser/ui/views/payments/payment_request_can_make_payment_metrics_browsertest.cc View 1 2 3 4 1 chunk +316 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/payments/can_make_payment_metrics.js View 4 chunks +20 lines, -3 lines 0 comments Download
M chrome/test/data/payments/payment_request_can_make_payment_metrics_test.html View 1 chunk +1 line, -0 lines 0 comments Download
M components/payments/content/payment_request.h View 2 chunks +3 lines, -0 lines 0 comments Download
M components/payments/content/payment_request.cc View 1 2 6 chunks +15 lines, -1 line 0 comments Download
M components/payments/core/autofill_payment_instrument_unittest.cc View 1 2 3 1 chunk +91 lines, -0 lines 0 comments Download
M components/payments/core/journey_logger.h View 1 2 3 4 2 chunks +5 lines, -4 lines 0 comments Download
M components/payments/core/journey_logger.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M components/payments/core/payment_request_delegate.h View 2 chunks +7 lines, -0 lines 0 comments Download
M components/payments/core/test_payment_request_delegate.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M components/payments/core/test_payment_request_delegate.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 53 (41 generated)
sebsg
Hi Math, can you please take a look?
3 years, 7 months ago (2017-05-02 20:37:54 UTC) #11
Mathieu
Seems like some address normalization changes sneaked up in here? Otherwise looks like a solid ...
3 years, 7 months ago (2017-05-02 20:56:47 UTC) #14
sebsg
Thanks, another look? https://codereview.chromium.org/2851893002/diff/80001/chrome/browser/ui/views/payments/payment_request_browsertest_base.cc File chrome/browser/ui/views/payments/payment_request_browsertest_base.cc (right): https://codereview.chromium.org/2851893002/diff/80001/chrome/browser/ui/views/payments/payment_request_browsertest_base.cc#newcode86 chrome/browser/ui/views/payments/payment_request_browsertest_base.cc:86: https_server_ = base::MakeUnique<net::EmbeddedTestServer>( On 2017/05/02 20:56:46, ...
3 years, 7 months ago (2017-05-02 22:15:08 UTC) #17
Mathieu
https://codereview.chromium.org/2851893002/diff/80001/chrome/browser/ui/views/payments/payment_request_can_make_payment_metrics_browsertest.cc File chrome/browser/ui/views/payments/payment_request_can_make_payment_metrics_browsertest.cc (right): https://codereview.chromium.org/2851893002/diff/80001/chrome/browser/ui/views/payments/payment_request_can_make_payment_metrics_browsertest.cc#newcode209 chrome/browser/ui/views/payments/payment_request_can_make_payment_metrics_browsertest.cc:209: Called_False_Shown_UserAborted) { On 2017/05/02 22:15:08, sebsg wrote: > On ...
3 years, 7 months ago (2017-05-03 02:22:50 UTC) #22
sebsg
Thanks, Another look? https://codereview.chromium.org/2851893002/diff/80001/chrome/browser/ui/views/payments/payment_request_can_make_payment_metrics_browsertest.cc File chrome/browser/ui/views/payments/payment_request_can_make_payment_metrics_browsertest.cc (right): https://codereview.chromium.org/2851893002/diff/80001/chrome/browser/ui/views/payments/payment_request_can_make_payment_metrics_browsertest.cc#newcode209 chrome/browser/ui/views/payments/payment_request_can_make_payment_metrics_browsertest.cc:209: Called_False_Shown_UserAborted) { On 2017/05/03 02:22:49, Mathieu ...
3 years, 7 months ago (2017-05-03 17:10:11 UTC) #24
Mathieu
lgtm
3 years, 7 months ago (2017-05-03 17:14: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/2851893002/180001
3 years, 7 months ago (2017-05-03 18:41:47 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/435416)
3 years, 7 months ago (2017-05-03 19:21:34 UTC) #35
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/2851893002/240001
3 years, 7 months ago (2017-05-04 15:02:41 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/170621)
3 years, 7 months ago (2017-05-04 15:26:31 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/2851893002/260001
3 years, 7 months ago (2017-05-04 20:17:29 UTC) #50
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 20:23:48 UTC) #53
Message was sent while issue was closed.
Committed patchset #5 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/20b49d7b4fb728890b2298345326...

Powered by Google App Engine
This is Rietveld 408576698