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

Issue 2750103005: [Payments] Move journey logger to native. (Closed)

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

Description

[Payments] Move journey logger to native. BUG=701042 Review-Url: https://codereview.chromium.org/2750103005 Cr-Commit-Position: refs/heads/master@{#460117} Committed: https://chromium.googlesource.com/chromium/src/+/0b36e744dc2feabfe8c47f204c6a38098faa513e

Patch Set 1 #

Total comments: 24

Patch Set 2 : Addressed comments #

Total comments: 4

Patch Set 3 : Nits #

Total comments: 30

Patch Set 4 : Addressed Rouslan's comments #

Total comments: 2

Patch Set 5 : Nit #

Total comments: 1

Patch Set 6 : Move Payment Jni to their own file #

Patch Set 7 : Rebase #

Patch Set 8 : Add the component_jni_registrar files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1005 lines, -809 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java View 1 2 3 4 5 6 13 chunks +18 lines, -23 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestJourneyLogger.java View 1 chunk +0 lines, -256 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/ui/ContactDetailsSection.java View 3 chunks +0 lines, -6 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestCanMakePaymentMetricsTest.java View 1 2 3 4 7 chunks +67 lines, -52 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestJourneyLoggerUnitTest.java View 1 2 3 15 chunks +378 lines, -143 lines 0 comments Download
M chrome/browser/android/chrome_jni_registrar.cc View 1 2 3 4 5 6 4 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/autofill/android/personal_data_manager_android.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M components/payments/content/android/BUILD.gn View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
A + components/payments/content/android/component_jni_registrar.h View 1 2 3 4 5 6 7 1 chunk +7 lines, -39 lines 0 comments Download
A + components/payments/content/android/component_jni_registrar.cc View 1 2 3 4 5 6 7 1 chunk +22 lines, -42 lines 0 comments Download
M components/payments/content/android/currency_formatter_android.h View 1 2 3 1 chunk +8 lines, -7 lines 0 comments Download
M components/payments/content/android/currency_formatter_android.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java View 1 2 3 9 chunks +45 lines, -155 lines 0 comments Download
A + components/payments/content/android/journey_logger_android.h View 1 2 3 4 1 chunk +40 lines, -28 lines 0 comments Download
A + components/payments/content/android/journey_logger_android.cc View 1 2 3 2 chunks +69 lines, -42 lines 0 comments Download
M components/payments/core/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A components/payments/core/journey_logger.h View 1 2 3 1 chunk +137 lines, -0 lines 0 comments Download
A components/payments/core/journey_logger.cc View 1 2 3 1 chunk +196 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 47 (32 generated)
sebsg
Hi Math, PTAL?
3 years, 9 months ago (2017-03-23 20:47:57 UTC) #5
Mathieu
looking good https://codereview.chromium.org/2750103005/diff/40001/components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java File components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java (right): https://codereview.chromium.org/2750103005/diff/40001/components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java#newcode1 components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java:1: // Copyright 2016 The Chromium Authors. All ...
3 years, 9 months ago (2017-03-23 21:19:49 UTC) #6
sebsg
Hi Math, another look? https://codereview.chromium.org/2750103005/diff/40001/components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java File components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java (right): https://codereview.chromium.org/2750103005/diff/40001/components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java#newcode1 components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java:1: // Copyright 2016 The Chromium ...
3 years, 9 months ago (2017-03-24 13:35:30 UTC) #8
Mathieu
lgtm with nits https://codereview.chromium.org/2750103005/diff/80001/components/payments/content/android/journey_logger_android.h File components/payments/content/android/journey_logger_android.h (right): https://codereview.chromium.org/2750103005/diff/80001/components/payments/content/android/journey_logger_android.h#newcode21 components/payments/content/android/journey_logger_android.h:21: ~JourneyLoggerAndroid(){}; nit: add a space and ...
3 years, 9 months ago (2017-03-24 13:46:44 UTC) #9
sebsg
Hi Rouslan, PTAL? https://codereview.chromium.org/2750103005/diff/80001/components/payments/content/android/journey_logger_android.h File components/payments/content/android/journey_logger_android.h (right): https://codereview.chromium.org/2750103005/diff/80001/components/payments/content/android/journey_logger_android.h#newcode21 components/payments/content/android/journey_logger_android.h:21: ~JourneyLoggerAndroid(){}; On 2017/03/24 13:46:44, Mathieu (slow ...
3 years, 9 months ago (2017-03-24 13:53:19 UTC) #11
please use gerrit instead
https://codereview.chromium.org/2750103005/diff/50015/components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java File components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java (right): https://codereview.chromium.org/2750103005/diff/50015/components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java#newcode1 components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
3 years, 9 months ago (2017-03-24 16:31:47 UTC) #12
sebsg
Thanks! Another look? https://codereview.chromium.org/2750103005/diff/50015/components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java File components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java (right): https://codereview.chromium.org/2750103005/diff/50015/components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java#newcode1 components/payments/content/android/java/src/org/chromium/components/payments/JourneyLogger.java:1: // Copyright 2016 The Chromium Authors. ...
3 years, 9 months ago (2017-03-24 18:37:47 UTC) #16
please use gerrit instead
lgtm % comment https://codereview.chromium.org/2750103005/diff/120001/components/payments/content/android/journey_logger_android.h File components/payments/content/android/journey_logger_android.h (right): https://codereview.chromium.org/2750103005/diff/120001/components/payments/content/android/journey_logger_android.h#newcode55 components/payments/content/android/journey_logger_android.h:55: static bool Register(JNIEnv* env); Static on ...
3 years, 9 months ago (2017-03-24 19:30:09 UTC) #17
sebsg
Hi tedchoc, could you please review chrome_jni_registrar? Hi jwd, could you please review histograms.xml? Thanks! ...
3 years, 9 months ago (2017-03-27 15:35:12 UTC) #21
Ted C
https://codereview.chromium.org/2750103005/diff/130001/chrome/browser/android/chrome_jni_registrar.cc File chrome/browser/android/chrome_jni_registrar.cc (right): https://codereview.chromium.org/2750103005/diff/130001/chrome/browser/android/chrome_jni_registrar.cc#newcode175 chrome/browser/android/chrome_jni_registrar.cc:175: #include "components/payments/content/android/journey_logger_android.h" If you look at the other components, ...
3 years, 9 months ago (2017-03-27 21:48:05 UTC) #26
jwd
histograms lgtm
3 years, 8 months ago (2017-03-28 14:29:46 UTC) #37
sebsg
Thanks Ted, I moved them to their own registrar.
3 years, 8 months ago (2017-03-28 15:20:19 UTC) #40
Ted C
On 2017/03/28 15:20:19, sebsg wrote: > Thanks Ted, I moved them to their own registrar. ...
3 years, 8 months ago (2017-03-28 15:48:47 UTC) #41
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/2750103005/190001
3 years, 8 months ago (2017-03-28 15:52:49 UTC) #44
commit-bot: I haz the power
3 years, 8 months ago (2017-03-28 16:22:32 UTC) #47
Message was sent while issue was closed.
Committed patchset #8 (id:190001) as
https://chromium.googlesource.com/chromium/src/+/0b36e744dc2feabfe8c47f204c6a...

Powered by Google App Engine
This is Rietveld 408576698