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

Issue 886523003: Add a Rappor option in the settings page. (Closed)

Created:
5 years, 10 months ago by Steven Holte
Modified:
5 years, 10 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, arv+watch_chromium.org, asvitkine+watch_chromium.org, Thiemo Nagel
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a Rappor option in the settings page. BUG=455898 TEST=Check that a RAPPOR option appears in Settings/Advanced/Privacy and control rappor.enable in Local State Committed: https://crrev.com/ce6a45c39634ba62952a6995991e63a7a886e38c Cr-Commit-Position: refs/heads/master@{#316354}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Test #

Total comments: 6

Patch Set 5 : #

Total comments: 4

Patch Set 6 : #

Patch Set 7 : Enterprise Policy #

Total comments: 1

Patch Set 8 : CSS classes #

Patch Set 9 : Policy description #

Total comments: 2

Patch Set 10 : #

Total comments: 4

Patch Set 11 : #

Patch Set 12 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+245 lines, -8 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_services_manager.h View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_services_manager.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +54 lines, -3 lines 0 comments Download
A chrome/browser/metrics/metrics_services_manager_unittest.cc View 1 2 3 4 5 1 chunk +131 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list_factory.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -5 lines 0 comments Download
M components/rappor/rappor_pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/rappor/rappor_pref_names.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M components/rappor/rappor_prefs.cc View 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 54 (20 generated)
Steven Holte
https://codereview.chromium.org/886523003/diff/20001/chrome/browser/metrics/metrics_services_manager.cc File chrome/browser/metrics/metrics_services_manager.cc (right): https://codereview.chromium.org/886523003/diff/20001/chrome/browser/metrics/metrics_services_manager.cc#newcode93 chrome/browser/metrics/metrics_services_manager.cc:93: //bool sb_enabled = local_state_->GetBoolean(prefs::kSafeBrowsingEnabled); I'm not actually sure what ...
5 years, 10 months ago (2015-02-06 00:15:46 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/886523003/diff/20001/chrome/browser/metrics/metrics_services_manager.cc File chrome/browser/metrics/metrics_services_manager.cc (right): https://codereview.chromium.org/886523003/diff/20001/chrome/browser/metrics/metrics_services_manager.cc#newcode93 chrome/browser/metrics/metrics_services_manager.cc:93: //bool sb_enabled = local_state_->GetBoolean(prefs::kSafeBrowsingEnabled); On 2015/02/06 00:15:46, Steven Holte ...
5 years, 10 months ago (2015-02-06 16:43:33 UTC) #4
Steven Holte
On 2015/02/06 16:43:33, asvitkine (slow this week) wrote: > https://codereview.chromium.org/886523003/diff/20001/chrome/browser/metrics/metrics_services_manager.cc > File chrome/browser/metrics/metrics_services_manager.cc (right): > ...
5 years, 10 months ago (2015-02-06 22:23:22 UTC) #5
Alexei Svitkine (slow)
Please add a TEST= line that QA can use to verify this change works as ...
5 years, 10 months ago (2015-02-06 22:31:11 UTC) #6
Steven Holte
https://codereview.chromium.org/886523003/diff/60001/chrome/browser/metrics/metrics_services_manager.cc File chrome/browser/metrics/metrics_services_manager.cc (right): https://codereview.chromium.org/886523003/diff/60001/chrome/browser/metrics/metrics_services_manager.cc#newcode155 chrome/browser/metrics/metrics_services_manager.cc:155: #else // defined(OS_IOS) || defined(OS_ANDROID) On 2015/02/06 22:31:11, asvitkine ...
5 years, 10 months ago (2015-02-06 22:51:46 UTC) #7
Steven Holte
Added a test and a TEST line. https://codereview.chromium.org/886523003/diff/60001/chrome/browser/metrics/metrics_services_manager.cc File chrome/browser/metrics/metrics_services_manager.cc (right): https://codereview.chromium.org/886523003/diff/60001/chrome/browser/metrics/metrics_services_manager.cc#newcode113 chrome/browser/metrics/metrics_services_manager.cc:113: if (!local_state_->HasPrefPath(rappor::prefs::kRapporEnabled)) ...
5 years, 10 months ago (2015-02-07 02:26:21 UTC) #8
Alexei Svitkine (slow)
Mostly looks good, just a few comments. I suggest also posting a screenshot of how ...
5 years, 10 months ago (2015-02-09 16:10:47 UTC) #9
Steven Holte
https://codereview.chromium.org/886523003/diff/80001/chrome/browser/metrics/metrics_services_manager.cc File chrome/browser/metrics/metrics_services_manager.cc (right): https://codereview.chromium.org/886523003/diff/80001/chrome/browser/metrics/metrics_services_manager.cc#newcode156 chrome/browser/metrics/metrics_services_manager.cc:156: if (IsRapporEnabled(may_record)) { On 2015/02/09 16:10:47, Alexei Svitkine wrote: ...
5 years, 10 months ago (2015-02-09 20:17:38 UTC) #10
Alexei Svitkine (slow)
LGTM https://codereview.chromium.org/886523003/diff/100001/chrome/browser/metrics/metrics_services_manager.cc File chrome/browser/metrics/metrics_services_manager.cc (right): https://codereview.chromium.org/886523003/diff/100001/chrome/browser/metrics/metrics_services_manager.cc#newcode125 chrome/browser/metrics/metrics_services_manager.cc:125: #if defined(OS_IOS) || defined(OS_ANDROID) Nit: Don't forget to ...
5 years, 10 months ago (2015-02-09 20:42:13 UTC) #11
Steven Holte
+stevenjb for browser_options https://codereview.chromium.org/886523003/diff/100001/chrome/browser/metrics/metrics_services_manager.cc File chrome/browser/metrics/metrics_services_manager.cc (right): https://codereview.chromium.org/886523003/diff/100001/chrome/browser/metrics/metrics_services_manager.cc#newcode125 chrome/browser/metrics/metrics_services_manager.cc:125: #if defined(OS_IOS) || defined(OS_ANDROID) On 2015/02/09 ...
5 years, 10 months ago (2015-02-09 21:09:23 UTC) #14
Steven Holte
+mnissler for chrome/browser/policy/configuration_policy_handler_list_factory.cc
5 years, 10 months ago (2015-02-09 22:14:34 UTC) #16
Alexei Svitkine (slow)
not lgtm per my comments about UI on: https://code.google.com/p/chromium/issues/detail?id=455898#c15
5 years, 10 months ago (2015-02-10 04:59:52 UTC) #17
Mattias Nissler (ping if slow)
https://codereview.chromium.org/886523003/diff/140001/chrome/browser/policy/configuration_policy_handler_list_factory.cc File chrome/browser/policy/configuration_policy_handler_list_factory.cc (right): https://codereview.chromium.org/886523003/diff/140001/chrome/browser/policy/configuration_policy_handler_list_factory.cc#newcode125 chrome/browser/policy/configuration_policy_handler_list_factory.cc:125: base::Value::TYPE_BOOLEAN }, We need to be careful here w.r.t. ...
5 years, 10 months ago (2015-02-10 08:38:15 UTC) #18
Steven Holte
On 2015/02/10 08:38:15, Mattias Nissler wrote: > https://codereview.chromium.org/886523003/diff/140001/chrome/browser/policy/configuration_policy_handler_list_factory.cc > File chrome/browser/policy/configuration_policy_handler_list_factory.cc (right): > > https://codereview.chromium.org/886523003/diff/140001/chrome/browser/policy/configuration_policy_handler_list_factory.cc#newcode125 ...
5 years, 10 months ago (2015-02-10 21:10:09 UTC) #19
Alexei Svitkine (slow)
Can you post the updated screenshot? On Tue, Feb 10, 2015 at 4:10 PM, <holte@chromium.org> ...
5 years, 10 months ago (2015-02-10 21:12:29 UTC) #20
Alexei Svitkine (slow)
LGTM % screenshot
5 years, 10 months ago (2015-02-10 21:13:46 UTC) #21
Steven Holte
On 2015/02/10 21:13:46, Alexei Svitkine wrote: > LGTM % screenshot It's attached to the bug: ...
5 years, 10 months ago (2015-02-10 21:20:58 UTC) #22
Mattias Nissler (ping if slow)
I haven't heard back from saswat, but I've meanwhile pieced together enough information to convince ...
5 years, 10 months ago (2015-02-10 21:29:09 UTC) #24
Steven Holte
https://codereview.chromium.org/886523003/diff/180001/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/886523003/diff/180001/components/policy/resources/policy_templates.json#newcode980 components/policy/resources/policy_templates.json:980: If this policy is left not set the setting ...
5 years, 10 months ago (2015-02-10 21:44:32 UTC) #26
stevenjb
+dbeam@ for browser_options_handler.cc Dan - Are there any issues / concerns here with passing a ...
5 years, 10 months ago (2015-02-11 01:25:13 UTC) #29
Thiemo Nagel
https://codereview.chromium.org/886523003/diff/200001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/886523003/diff/200001/chrome/app/generated_resources.grd#newcode12160 chrome/app/generated_resources.grd:12160: + Send <ph name="BEGIN_LINK">&lt;a target="_blank" href="$1"&gt;</ph>RAPPOR<ph name="END_LINK">&lt;/a&gt;<ex>&lt;/a&gt;</ex></ph> statistics to ...
5 years, 10 months ago (2015-02-11 10:50:51 UTC) #31
Steven Holte
https://codereview.chromium.org/886523003/diff/200001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/886523003/diff/200001/chrome/app/generated_resources.grd#newcode12160 chrome/app/generated_resources.grd:12160: + Send <ph name="BEGIN_LINK">&lt;a target="_blank" href="$1"&gt;</ph>RAPPOR<ph name="END_LINK">&lt;/a&gt;<ex>&lt;/a&gt;</ex></ph> statistics to ...
5 years, 10 months ago (2015-02-11 20:03:32 UTC) #32
stevenjb
Since dbeam@ is busy, I did a quick look and found precedent for this pattern, ...
5 years, 10 months ago (2015-02-12 18:31:30 UTC) #33
Andrew T Wilson (Slow)
policy_templates.json lgtm. Not looking at the rest of the CL since mnissler already LGTMd
5 years, 10 months ago (2015-02-13 13:14:48 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886523003/220001
5 years, 10 months ago (2015-02-13 21:00:54 UTC) #36
commit-bot: I haz the power
All required reviewers (with asterisk prefixes) have not yet approved this CL. No LGTM from ...
5 years, 10 months ago (2015-02-13 21:00:59 UTC) #38
Steven Holte
Removed required reviewer start from dbeam based on stevenjb's review+comment.
5 years, 10 months ago (2015-02-13 22:02:26 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886523003/220001
5 years, 10 months ago (2015-02-13 22:03:43 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/58784) ios_rel_device_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 10 months ago (2015-02-13 22:07:22 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886523003/240001
5 years, 10 months ago (2015-02-13 22:21:49 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/25121)
5 years, 10 months ago (2015-02-13 23:20:45 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/886523003/240001
5 years, 10 months ago (2015-02-14 01:15:09 UTC) #51
commit-bot: I haz the power
Committed patchset #12 (id:240001)
5 years, 10 months ago (2015-02-14 01:42:01 UTC) #52
commit-bot: I haz the power
5 years, 10 months ago (2015-02-14 01:43:16 UTC) #53
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/ce6a45c39634ba62952a6995991e63a7a886e38c
Cr-Commit-Position: refs/heads/master@{#316354}

Powered by Google App Engine
This is Rietveld 408576698