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

Issue 1748403003: Log histograms on shutdown when verbose logging is on (Closed)

Created:
4 years, 9 months ago by Boris Yusupov
Modified:
4 years, 5 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log histograms on shutdown when verbose logging is on It is working in tests but isn't in browser. In browser initialization of metrics recorder is made from content earlier than logging which is made from chrome. Here we turn histograms recording on manually from chrome without changing none of startup events. R=asvitkine@chromium.org BUG= Committed: https://crrev.com/648b3732cd93b242fd34114dca2915b0ff31f675 Cr-Commit-Position: refs/heads/master@{#403752}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Review issues #

Patch Set 3 : Remove abandoned test class #

Total comments: 1

Patch Set 4 : added comment and friend #

Total comments: 2

Patch Set 5 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -1 line) Patch
M base/metrics/statistics_recorder.h View 1 2 3 4 4 chunks +13 lines, -0 lines 0 comments Download
M base/metrics/statistics_recorder.cc View 1 2 3 2 chunks +15 lines, -1 line 0 comments Download
M base/metrics/statistics_recorder_unittest.cc View 1 2 3 3 chunks +64 lines, -0 lines 0 comments Download
M chrome/common/logging_chrome.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
Boris Yusupov
4 years, 9 months ago (2016-03-01 14:58:06 UTC) #1
Boris Yusupov
On 2016/03/01 14:58:06, Boris Yusupov wrote: Please review
4 years, 9 months ago (2016-03-14 08:28:46 UTC) #2
Alexei Svitkine (slow)
Sorry for the delay in response. I haven't had much time to look at this ...
4 years, 9 months ago (2016-03-24 17:39:49 UTC) #3
Boris Yusupov
On 2016/03/24 17:39:49, Alexei Svitkine (OOO 25-27th) wrote: > Sorry for the delay in response. ...
4 years, 9 months ago (2016-03-25 08:46:59 UTC) #4
Boris Yusupov
On 2016/03/24 17:39:49, Alexei Svitkine wrote: > Sorry for the delay in response. I haven't ...
4 years, 8 months ago (2016-04-11 17:00:34 UTC) #5
Alexei Svitkine (slow)
Sorry it has taken me so long to get to this. Finally got a chance ...
4 years, 8 months ago (2016-04-14 20:47:39 UTC) #6
Boris Yusupov
On 2016/04/14 20:47:39, Alexei Svitkine wrote: > Sorry it has taken me so long to ...
4 years, 7 months ago (2016-05-13 13:29:03 UTC) #7
Boris Yusupov
On 2016/05/13 13:29:03, Boris Yusupov wrote: > On 2016/04/14 20:47:39, Alexei Svitkine wrote: > > ...
4 years, 5 months ago (2016-06-29 10:42:54 UTC) #8
Alexei Svitkine (slow)
lgtm, sorry for the delay https://codereview.chromium.org/1748403003/diff/40001/base/metrics/statistics_recorder.h File base/metrics/statistics_recorder.h (right): https://codereview.chromium.org/1748403003/diff/40001/base/metrics/statistics_recorder.h#newcode222 base/metrics/statistics_recorder.h:222: void InitLogOnShutdownWithoutLock(); Nit: Add ...
4 years, 5 months ago (2016-06-29 14:24:47 UTC) #9
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/1748403003/60001
4 years, 5 months ago (2016-07-04 16:00:05 UTC) #12
commit-bot: I haz the power
The author boriay@yandex-team.ru has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
4 years, 5 months ago (2016-07-04 16:00:08 UTC) #14
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/1748403003/60001
4 years, 5 months ago (2016-07-04 16:34:09 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/212140)
4 years, 5 months ago (2016-07-04 16:40:52 UTC) #18
Boris Yusupov
Oh, missed reviewer for logging_chrome.cc thus added Lei. Please review.
4 years, 5 months ago (2016-07-04 16:49:18 UTC) #21
Lei Zhang
lgtm, but please address the nits below: https://codereview.chromium.org/1748403003/diff/60001/base/metrics/statistics_recorder.h File base/metrics/statistics_recorder.h (right): https://codereview.chromium.org/1748403003/diff/60001/base/metrics/statistics_recorder.h#newcode170 base/metrics/statistics_recorder.h:170: // Initializes ...
4 years, 5 months ago (2016-07-04 21:03:31 UTC) #23
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/1748403003/80001
4 years, 5 months ago (2016-07-05 07:09:31 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-05 08:15:48 UTC) #28
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-05 08:15:52 UTC) #29
commit-bot: I haz the power
4 years, 5 months ago (2016-07-05 08:18:09 UTC) #31
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/648b3732cd93b242fd34114dca2915b0ff31f675
Cr-Commit-Position: refs/heads/master@{#403752}

Powered by Google App Engine
This is Rietveld 408576698