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

Issue 2233443002: MD Settings: implement metrics reporting checkbox on desktop (Closed)

Created:
4 years, 4 months ago by Dan Beam
Modified:
4 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-elements_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, dbeam+watch-settings_chromium.org, michaelpg+watch-elements_chromium.org, stevenjb+watch-md-settings_chromium.org, gayane -on leave until 09-2017
Base URL:
https://chromium.googlesource.com/chromium/src.git@desktop-uma
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: implement metrics reporting checkbox on desktop BUG=614265, 632443 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/a620af406275d8e5bf37832661f773ec60f3802a Cr-Commit-Position: refs/heads/master@{#411276}

Patch Set 1 : c++ tests #

Patch Set 2 : merge + closure #

Total comments: 4

Patch Set 3 : dschuyler@ review #

Patch Set 4 : retry compilation exclusion logic #

Patch Set 5 : remove 2 using #

Unified diffs Side-by-side diffs Delta from patch set Stats (+560 lines, -30 lines) Patch
M chrome/browser/metrics/chrome_metrics_service_accessor.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/compiled_resources2.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.html View 1 3 chunks +43 lines, -7 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page.js View 1 2 3 chunks +42 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/privacy_page/privacy_page_browser_proxy.js View 1 2 chunks +27 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 1 chunk +7 lines, -8 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/settings/metrics_reporting_handler.h View 1 2 3 1 chunk +73 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/settings/metrics_reporting_handler.cc View 1 2 3 1 chunk +107 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/settings/metrics_reporting_handler_unittest.cc View 1 2 3 4 1 chunk +123 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/webui/settings/cr_settings_browsertest.js View 1 1 chunk +22 lines, -0 lines 0 comments Download
A chrome/test/data/webui/settings/metrics_reporting_tests.js View 1 chunk +80 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/policy/cr_policy_indicator.css View 1 chunk +1 line, -3 lines 0 comments Download
M ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html View 1 chunk +1 line, -7 lines 0 comments Download
M ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.js View 1 chunk +1 line, -1 line 0 comments Download
A ui/webui/resources/cr_elements/policy/cr_policy_vars_css.html View 1 chunk +17 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements_resources.grdp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (37 generated)
Dan Beam
soooo, this is pretty big. we can potentially split if you'd like
4 years, 4 months ago (2016-08-10 04:39:56 UTC) #9
dschuyler
https://codereview.chromium.org/2233443002/diff/120001/chrome/browser/resources/settings/privacy_page/privacy_page.js File chrome/browser/resources/settings/privacy_page/privacy_page.js (right): https://codereview.chromium.org/2233443002/diff/120001/chrome/browser/resources/settings/privacy_page/privacy_page.js#newcode56 chrome/browser/resources/settings/privacy_page/privacy_page.js:56: this.addWebUIListener('metrics-reporting-change', boundSetMetricsReporting); Not even a nit, but just a ...
4 years, 4 months ago (2016-08-10 18:55:16 UTC) #20
Dan Beam
https://codereview.chromium.org/2233443002/diff/120001/chrome/browser/resources/settings/privacy_page/privacy_page.js File chrome/browser/resources/settings/privacy_page/privacy_page.js (right): https://codereview.chromium.org/2233443002/diff/120001/chrome/browser/resources/settings/privacy_page/privacy_page.js#newcode56 chrome/browser/resources/settings/privacy_page/privacy_page.js:56: this.addWebUIListener('metrics-reporting-change', boundSetMetricsReporting); On 2016/08/10 18:55:16, dschuyler wrote: > Not ...
4 years, 4 months ago (2016-08-10 19:41:59 UTC) #21
dschuyler
LGTM (Just chatting, feel free to ignore): The benefit is that references cannot be null. ...
4 years, 4 months ago (2016-08-10 21:23:44 UTC) #26
Dan Beam
On 2016/08/10 21:23:44, dschuyler wrote: > LGTM > > (Just chatting, feel free to ignore): ...
4 years, 4 months ago (2016-08-10 21:57:17 UTC) #27
Dan Beam
+asvitkine@ for chrome/browser/metrics/chrome_metrics_service_accessor.h
4 years, 4 months ago (2016-08-10 22:25:31 UTC) #31
Dan Beam
+asvitkine@ for realz
4 years, 4 months ago (2016-08-10 22:25:47 UTC) #33
Alexei Svitkine (slow)
+gayane who last touched the logic for this checkbox in the old settings UI. From ...
4 years, 4 months ago (2016-08-11 06:00:08 UTC) #40
Dan Beam
gayane@: "this looks good" we've been talking about this along the way (why gayane@ is ...
4 years, 4 months ago (2016-08-11 06:04:53 UTC) #42
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/2233443002/180001
4 years, 4 months ago (2016-08-11 06:05:47 UTC) #45
commit-bot: I haz the power
Committed patchset #5 (id:180001)
4 years, 4 months ago (2016-08-11 06:09:48 UTC) #47
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 06:12:06 UTC) #49
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a620af406275d8e5bf37832661f773ec60f3802a
Cr-Commit-Position: refs/heads/master@{#411276}

Powered by Google App Engine
This is Rietveld 408576698