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

Issue 2014353002: Make Mac and Linux first run dialogs use metrics APIs. (Closed)

Created:
4 years, 7 months ago by Alexei Svitkine (slow)
Modified:
4 years, 6 months ago
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make Mac and Linux first run dialogs use metrics APIs. This makes the two implementations use the APIs from chrome/browser/metrics/metrics_reporting_state.h to check if the pref is managed and to set it. This also fixes a bug where the metrics service wouldn't be started on first run because neither of the two existing implementations would call Start() on it, which is fixed by using InitiateMetricsReportingChange() which does this. BUG=615203 Committed: https://crrev.com/aebe925d51198f3ad6c964a8a9afa96ecabdafe2 Cr-Commit-Position: refs/heads/master@{#396537}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -46 lines) Patch
M chrome/browser/first_run/first_run_internal_posix.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/ui/cocoa/first_run_dialog.mm View 4 chunks +5 lines, -17 lines 0 comments Download
M chrome/browser/ui/views/first_run_dialog.cc View 1 4 chunks +17 lines, -21 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
Alexei Svitkine (slow)
Gayane, please do an initial review before I send to owners.
4 years, 7 months ago (2016-05-26 21:06:22 UTC) #5
gayane -on leave until 09-2017
Looks good.
4 years, 6 months ago (2016-05-27 15:15:00 UTC) #7
gayane -on leave until 09-2017
lgtm
4 years, 6 months ago (2016-05-27 15:21:55 UTC) #8
gayane -on leave until 09-2017
lgtm
4 years, 6 months ago (2016-05-27 15:21:57 UTC) #9
Alexei Svitkine (slow)
Thanks! +sky for OWNERS
4 years, 6 months ago (2016-05-27 15:22:13 UTC) #11
sky
LGTM with no null check https://codereview.chromium.org/2014353002/diff/60001/chrome/browser/ui/views/first_run_dialog.cc File chrome/browser/ui/views/first_run_dialog.cc (right): https://codereview.chromium.org/2014353002/diff/60001/chrome/browser/ui/views/first_run_dialog.cc#newcode119 chrome/browser/ui/views/first_run_dialog.cc:119: bool consent_given = (report_crashes_ ...
4 years, 6 months ago (2016-05-27 16:13:05 UTC) #12
Alexei Svitkine (slow)
https://codereview.chromium.org/2014353002/diff/60001/chrome/browser/ui/views/first_run_dialog.cc File chrome/browser/ui/views/first_run_dialog.cc (right): https://codereview.chromium.org/2014353002/diff/60001/chrome/browser/ui/views/first_run_dialog.cc#newcode119 chrome/browser/ui/views/first_run_dialog.cc:119: bool consent_given = (report_crashes_ && report_crashes_->checked()); On 2016/05/27 16:13:05, ...
4 years, 6 months ago (2016-05-27 18:57:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014353002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014353002/80001
4 years, 6 months ago (2016-05-27 18:58:53 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:80001)
4 years, 6 months ago (2016-05-27 19:48:15 UTC) #18
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 19:49:52 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/aebe925d51198f3ad6c964a8a9afa96ecabdafe2
Cr-Commit-Position: refs/heads/master@{#396537}

Powered by Google App Engine
This is Rietveld 408576698