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

Issue 2006023002: Log some information about the state of the homepage on Android. (Closed)

Created:
4 years, 7 months ago by Ted C
Modified:
4 years, 6 months ago
Reviewers:
gab, Mark P
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log some information about the state of the homepage on Android. BUG=612653 Committed: https://crrev.com/42da7e24e22f88b02bd4dc64af9206b6ab40d84c Cr-Commit-Position: refs/heads/master@{#397046}

Patch Set 1 #

Patch Set 2 : Do not log homepage stats natively as it does not apply to Android. #

Total comments: 10

Patch Set 3 : Move to share the same logic with desktop #

Total comments: 6

Patch Set 4 : Update comments #

Total comments: 4

Patch Set 5 : Nits #

Total comments: 8

Patch Set 6 : comment nits #

Patch Set 7 : moar nits #

Patch Set 8 : Rebase #

Patch Set 9 : Fix debug clang error about unused function (ifdef for android) #

Patch Set 10 : JNI doesn't support null strings :-/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -16 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/DeferredStartupHandler.java View 1 2 3 4 5 6 7 4 chunks +14 lines, -9 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/metrics/LaunchMetrics.java View 1 2 3 4 5 6 7 8 9 2 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/android/metrics/launch_metrics.cc View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_metrics_service.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/prefs/pref_metrics_service.cc View 1 2 3 4 5 6 7 8 6 chunks +29 lines, -6 lines 0 comments Download

Messages

Total messages: 41 (13 generated)
Ted C
PTAL I was originally going to share the logic in PrefMetricsService directly, but it seemed ...
4 years, 7 months ago (2016-05-23 21:34:15 UTC) #2
Mark P
On 2016/05/23 21:34:15, Ted C wrote: > PTAL > > I was originally going to ...
4 years, 7 months ago (2016-05-24 04:31:19 UTC) #3
Mark P
https://codereview.chromium.org/2006023002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/DeferredStartupHandler.java File chrome/android/java/src/org/chromium/chrome/browser/DeferredStartupHandler.java (right): https://codereview.chromium.org/2006023002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/DeferredStartupHandler.java#newcode114 chrome/android/java/src/org/chromium/chrome/browser/DeferredStartupHandler.java:114: // provider must be contacted before we can fully ...
4 years, 7 months ago (2016-05-24 04:31:26 UTC) #4
Ted C
On 2016/05/24 04:31:19, Mark P wrote: > On 2016/05/23 21:34:15, Ted C wrote: > > ...
4 years, 7 months ago (2016-05-24 05:07:58 UTC) #5
Ted C
Moved to sharing the same logic and calling from java to native. https://codereview.chromium.org/2006023002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/DeferredStartupHandler.java File chrome/android/java/src/org/chromium/chrome/browser/DeferredStartupHandler.java ...
4 years, 7 months ago (2016-05-24 16:53:16 UTC) #6
Mark P
generally lgtm baring comments below https://codereview.chromium.org/2006023002/diff/40001/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/2006023002/diff/40001/chrome/browser/prefs/pref_metrics_service.cc#newcode112 chrome/browser/prefs/pref_metrics_service.cc:112: #if !defined(OS_ANDROID) Please comment ...
4 years, 7 months ago (2016-05-24 18:41:53 UTC) #7
Ted C
+gab for OWNERS of chrome/browser/prefs/ https://codereview.chromium.org/2006023002/diff/40001/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/2006023002/diff/40001/chrome/browser/prefs/pref_metrics_service.cc#newcode112 chrome/browser/prefs/pref_metrics_service.cc:112: #if !defined(OS_ANDROID) On 2016/05/24 ...
4 years, 7 months ago (2016-05-24 19:01:33 UTC) #9
Mark P
additional nits, still lgtm https://codereview.chromium.org/2006023002/diff/60001/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/2006023002/diff/60001/chrome/browser/prefs/pref_metrics_service.cc#newcode114 chrome/browser/prefs/pref_metrics_service.cc:114: // it will be logged ...
4 years, 7 months ago (2016-05-24 19:07:17 UTC) #10
Ted C
https://codereview.chromium.org/2006023002/diff/60001/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/2006023002/diff/60001/chrome/browser/prefs/pref_metrics_service.cc#newcode114 chrome/browser/prefs/pref_metrics_service.cc:114: // it will be logged later once all the ...
4 years, 7 months ago (2016-05-24 19:55:53 UTC) #11
gab
c/b/prefs review https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.cc#newcode111 chrome/browser/prefs/pref_metrics_service.cc:111: void PrefMetricsService::RecordLaunchPrefs() { How about #if !defined(OS_ANDROID) ...
4 years, 7 months ago (2016-05-25 14:03:24 UTC) #12
Mark P
drive-by reviewer commenting on another reviewer's comments :-) --mark https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.cc#newcode111 chrome/browser/prefs/pref_metrics_service.cc:111: ...
4 years, 7 months ago (2016-05-25 17:01:53 UTC) #13
gab
https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.cc File chrome/browser/prefs/pref_metrics_service.cc (right): https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.cc#newcode111 chrome/browser/prefs/pref_metrics_service.cc:111: void PrefMetricsService::RecordLaunchPrefs() { On 2016/05/25 17:01:53, Mark P wrote: ...
4 years, 7 months ago (2016-05-25 17:13:11 UTC) #14
Ted C
https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.h File chrome/browser/prefs/pref_metrics_service.h (right): https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.h#newcode35 chrome/browser/prefs/pref_metrics_service.h:35: // necessary information is available. On 2016/05/25 17:01:53, Mark ...
4 years, 7 months ago (2016-05-25 18:13:07 UTC) #15
gab
https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.h File chrome/browser/prefs/pref_metrics_service.h (right): https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.h#newcode35 chrome/browser/prefs/pref_metrics_service.h:35: // necessary information is available. On 2016/05/25 18:13:07, Ted ...
4 years, 7 months ago (2016-05-25 18:23:40 UTC) #16
Ted C
https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.h File chrome/browser/prefs/pref_metrics_service.h (right): https://codereview.chromium.org/2006023002/diff/80001/chrome/browser/prefs/pref_metrics_service.h#newcode35 chrome/browser/prefs/pref_metrics_service.h:35: // necessary information is available. On 2016/05/25 18:23:40, gab ...
4 years, 7 months ago (2016-05-25 18:28:31 UTC) #17
chromium-reviews
Well in practice this is a method called by a method called by the constructor ...
4 years, 7 months ago (2016-05-25 19:58:30 UTC) #18
Ted C
On 2016/05/25 19:58:30, chromium-reviews wrote: > Well in practice this is a method called by ...
4 years, 7 months ago (2016-05-25 22:14:04 UTC) #19
gab
On 2016/05/25 22:14:04, Ted C (OOO till 5.31) wrote: > On 2016/05/25 19:58:30, chromium-reviews wrote: ...
4 years, 7 months ago (2016-05-26 20:30:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006023002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006023002/140001
4 years, 6 months ago (2016-05-31 18:05:59 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/79161)
4 years, 6 months ago (2016-05-31 18:28:06 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006023002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006023002/160001
4 years, 6 months ago (2016-05-31 19:46:09 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/79352)
4 years, 6 months ago (2016-06-01 00:04:21 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006023002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006023002/180001
4 years, 6 months ago (2016-06-01 00:43:48 UTC) #33
Ted C
On 2016/06/01 00:04:21, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-01 00:44:01 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/170080) win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, ...
4 years, 6 months ago (2016-06-01 01:23:23 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2006023002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2006023002/180001
4 years, 6 months ago (2016-06-01 03:21:16 UTC) #38
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 6 months ago (2016-06-01 03:57:00 UTC) #39
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 03:58:23 UTC) #41
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/42da7e24e22f88b02bd4dc64af9206b6ab40d84c
Cr-Commit-Position: refs/heads/master@{#397046}

Powered by Google App Engine
This is Rietveld 408576698