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

Issue 14946003: Record first run startup metrics. (Closed)

Created:
7 years, 7 months ago by gab
Modified:
7 years, 7 months ago
CC:
chromium-reviews, tfarina, sail+watch_chromium.org, msw, jeanluc1
Visibility:
Public.

Description

Record first run startup metrics. Also fixing first run code to only call startup_metric_utils::SetNonBrowserUIDisplayed() if the dialog is actually displayed (which it isn't in many situations). NOTRY=True (patchset 6 already passed all the try bots, simply updating a string in patchset 7) BUG=237933, 219419 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198707

Patch Set 1 #

Total comments: 15

Patch Set 2 : merge up to r198447 #

Patch Set 3 : review #

Total comments: 8

Patch Set 4 : fix gtk first run dialog #

Patch Set 5 : fix compile #

Total comments: 8

Patch Set 6 : add back CreateSentinel for this CL #

Patch Set 7 : Startup.FirstRun.BrowserMessageLoopStartTimeFromMainEntry --> Startup.BrowserMessageLoopStartTimeFr… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -72 lines) Patch
M chrome/browser/chrome_browser_main.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/first_run/first_run.cc View 1 2 3 4 4 chunks +1 line, -13 lines 0 comments Download
M chrome/browser/first_run/first_run_dialog.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/first_run/first_run_internal.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/first_run/first_run_posix.cc View 1 2 3 4 3 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/first_run/first_run_win.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/first_run_dialog.mm View 4 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/gtk/first_run_dialog.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/first_run_dialog.cc View 1 2 3 4 5 4 chunks +19 lines, -35 lines 0 comments Download
M chrome/browser/ui/views/first_run_bubble.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/startup_metric_utils.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/startup_metric_utils.cc View 1 2 3 4 5 6 2 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
gab
Hey Jeremy, please take a look. Thanks! Gab
7 years, 7 months ago (2013-05-03 21:29:37 UTC) #1
jeremy
https://codereview.chromium.org/14946003/diff/1/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/14946003/diff/1/chrome/browser/chrome_browser_main.cc#newcode1762 chrome/browser/chrome_browser_main.cc:1762: "Startup.BrowserMessageLoopStartTime", I don't think you need to add a ...
7 years, 7 months ago (2013-05-05 12:35:55 UTC) #2
gab
Comments addressed, PTAL. Thanks! Gab https://codereview.chromium.org/14946003/diff/1/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/14946003/diff/1/chrome/browser/chrome_browser_main.cc#newcode1762 chrome/browser/chrome_browser_main.cc:1762: "Startup.BrowserMessageLoopStartTime", On 2013/05/05 12:35:56, ...
7 years, 7 months ago (2013-05-06 16:19:53 UTC) #3
jeremy
https://codereview.chromium.org/14946003/diff/40001/chrome/browser/ui/gtk/first_run_dialog.cc File chrome/browser/ui/gtk/first_run_dialog.cc (right): https://codereview.chromium.org/14946003/diff/40001/chrome/browser/ui/gtk/first_run_dialog.cc#newcode89 chrome/browser/ui/gtk/first_run_dialog.cc:89: return; // Nothing to do Does this compile? https://codereview.chromium.org/14946003/diff/40001/chrome/common/startup_metric_utils.cc ...
7 years, 7 months ago (2013-05-06 17:59:38 UTC) #4
gab
PTAL. Ilya, please look at the discussion in startup_metric_utils.cc Thanks, Gab https://codereview.chromium.org/14946003/diff/40001/chrome/browser/ui/gtk/first_run_dialog.cc File chrome/browser/ui/gtk/first_run_dialog.cc (right): ...
7 years, 7 months ago (2013-05-06 18:44:51 UTC) #5
jeremy
LGTM for code surrounding startup UMAs.
7 years, 7 months ago (2013-05-06 19:09:38 UTC) #6
gab
Thanks, @Nico for OWNER Thanks! Gab
7 years, 7 months ago (2013-05-06 19:29:29 UTC) #7
Nico
https://codereview.chromium.org/14946003/diff/55001/chrome/browser/first_run/first_run.cc File chrome/browser/first_run/first_run.cc (left): https://codereview.chromium.org/14946003/diff/55001/chrome/browser/first_run/first_run.cc#oldcode753 chrome/browser/first_run/first_run.cc:753: } nit: This looks like it could've been moved ...
7 years, 7 months ago (2013-05-06 21:15:08 UTC) #8
gab
Nico, PTAL, see replies below. Thanks! Gab https://codereview.chromium.org/14946003/diff/55001/chrome/browser/first_run/first_run.cc File chrome/browser/first_run/first_run.cc (left): https://codereview.chromium.org/14946003/diff/55001/chrome/browser/first_run/first_run.cc#oldcode753 chrome/browser/first_run/first_run.cc:753: } On ...
7 years, 7 months ago (2013-05-06 21:28:35 UTC) #9
Nico
https://codereview.chromium.org/14946003/diff/55001/chrome/browser/ui/gtk/first_run_dialog.cc File chrome/browser/ui/gtk/first_run_dialog.cc (right): https://codereview.chromium.org/14946003/diff/55001/chrome/browser/ui/gtk/first_run_dialog.cc#newcode99 chrome/browser/ui/gtk/first_run_dialog.cc:99: } On 2013/05/06 21:28:36, gab wrote: > On 2013/05/06 ...
7 years, 7 months ago (2013-05-06 21:31:50 UTC) #10
gab
https://codereview.chromium.org/14946003/diff/55001/chrome/browser/ui/gtk/first_run_dialog.cc File chrome/browser/ui/gtk/first_run_dialog.cc (right): https://codereview.chromium.org/14946003/diff/55001/chrome/browser/ui/gtk/first_run_dialog.cc#newcode99 chrome/browser/ui/gtk/first_run_dialog.cc:99: } On 2013/05/06 21:31:50, Nico wrote: > On 2013/05/06 ...
7 years, 7 months ago (2013-05-06 21:40:10 UTC) #11
Nico
The gtk code looks wrong, but you're right that it's been that way for a ...
7 years, 7 months ago (2013-05-06 21:55:40 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/14946003/66001
7 years, 7 months ago (2013-05-06 22:02:55 UTC) #13
Ilya Sherman
https://chromiumcodereview.appspot.com/14946003/diff/40001/chrome/common/startup_metric_utils.cc File chrome/common/startup_metric_utils.cc (right): https://chromiumcodereview.appspot.com/14946003/diff/40001/chrome/common/startup_metric_utils.cc#newcode88 chrome/common/startup_metric_utils.cc:88: if (is_first_run) { On 2013/05/06 18:44:51, gab wrote: > ...
7 years, 7 months ago (2013-05-06 23:46:24 UTC) #14
gab
https://chromiumcodereview.appspot.com/14946003/diff/40001/chrome/common/startup_metric_utils.cc File chrome/common/startup_metric_utils.cc (right): https://chromiumcodereview.appspot.com/14946003/diff/40001/chrome/common/startup_metric_utils.cc#newcode88 chrome/common/startup_metric_utils.cc:88: if (is_first_run) { On 2013/05/06 23:46:24, Ilya Sherman wrote: ...
7 years, 7 months ago (2013-05-07 02:59:03 UTC) #15
gab
Thanks for the feedback Ilya!
7 years, 7 months ago (2013-05-07 02:59:21 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/14946003/84001
7 years, 7 months ago (2013-05-07 02:59:55 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/14946003/84001
7 years, 7 months ago (2013-05-07 03:15:57 UTC) #18
Mattias Nissler (ping if slow)
https://codereview.chromium.org/14946003/diff/55001/chrome/browser/ui/gtk/first_run_dialog.cc File chrome/browser/ui/gtk/first_run_dialog.cc (right): https://codereview.chromium.org/14946003/diff/55001/chrome/browser/ui/gtk/first_run_dialog.cc#newcode99 chrome/browser/ui/gtk/first_run_dialog.cc:99: } On 2013/05/06 21:55:40, Nico wrote: > On 2013/05/06 ...
7 years, 7 months ago (2013-05-07 08:27:51 UTC) #19
commit-bot: I haz the power
List of reviewers changed. mnissler@chromium.org did a drive-by without LGTM'ing!
7 years, 7 months ago (2013-05-07 13:04:29 UTC) #20
Mattias Nissler (ping if slow)
On 2013/05/07 13:04:29, I haz the power (commit-bot) wrote: > List of reviewers changed. mailto:mnissler@chromium.org ...
7 years, 7 months ago (2013-05-07 13:07:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/14946003/84001
7 years, 7 months ago (2013-05-07 13:07:30 UTC) #22
commit-bot: I haz the power
7 years, 7 months ago (2013-05-07 13:14:50 UTC) #23
Message was sent while issue was closed.
Change committed as 198707

Powered by Google App Engine
This is Rietveld 408576698