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

Issue 2728303002: Make it harder to get ContentSettingsType histogram values wrong (Closed)

Created:
3 years, 9 months ago by raymes
Modified:
3 years, 8 months ago
CC:
asvitkine+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, chromium-reviews, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org, Jialiu Lin, Mark P
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make it harder to get ContentSettingsType histogram values wrong This CL forces the histogram value for a content setting to be explicitly specified to reduce the risk of getting out of sync with histograms.xml. BUG=697234 Review-Url: https://codereview.chromium.org/2728303002 Cr-Commit-Position: refs/heads/master@{#465076} Committed: https://chromium.googlesource.com/chromium/src/+/c5e0038e479176c8e130882203ca4567f169b38b

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make it harder to get ContentSettingsType histogram values wrong #

Patch Set 3 : Make it harder to get ContentSettingsType histogram values wrong #

Total comments: 1

Patch Set 4 : Make it harder to get ContentSettingsType histogram values wrong #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -47 lines) Patch
M components/content_settings/core/common/content_settings.cc View 1 2 3 2 chunks +39 lines, -45 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 11 chunks +37 lines, -2 lines 0 comments Download

Messages

Total messages: 47 (21 generated)
raymes
3 years, 9 months ago (2017-03-06 01:19:44 UTC) #2
raymes
msramek: could you ptal? Thanks!
3 years, 9 months ago (2017-03-13 02:25:13 UTC) #8
msramek
So I can finally close https://codereview.chromium.org/2129153002/ which I was totally going to address one day? ...
3 years, 9 months ago (2017-03-13 10:17:23 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/2728303002/1
3 years, 9 months ago (2017-03-15 01:48:26 UTC) #11
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/385702)
3 years, 9 months ago (2017-03-15 01:59:33 UTC) #13
raymes.khoury
+mpearson for histograms
3 years, 9 months ago (2017-03-16 00:19:32 UTC) #15
raymes
+isherman for histograms
3 years, 9 months ago (2017-03-16 21:40:02 UTC) #17
Ilya Sherman
LGTM with a request: https://codereview.chromium.org/2728303002/diff/1/components/content_settings/core/common/content_settings.cc File components/content_settings/core/common/content_settings.cc (right): https://codereview.chromium.org/2728303002/diff/1/components/content_settings/core/common/content_settings.cc#newcode25 components/content_settings/core/common/content_settings.cc:25: // specified in the ContentType ...
3 years, 9 months ago (2017-03-16 22:19:41 UTC) #18
Mark P
I didn't look in detail, but the linked bug implies that some clients added enums ...
3 years, 9 months ago (2017-03-16 22:31:45 UTC) #19
raymes
On 2017/03/16 22:31:45, Mark P wrote: > I didn't look in detail, but the linked ...
3 years, 9 months ago (2017-03-17 07:44:51 UTC) #20
Mark P
On Fri, Mar 17, 2017 at 12:44 AM, <raymes@chromium.org> wrote: > On 2017/03/16 22:31:45, Mark ...
3 years, 9 months ago (2017-03-17 18:03:09 UTC) #21
Ilya Sherman
On 2017/03/17 18:03:09, Mark P wrote: > On Fri, Mar 17, 2017 at 12:44 AM, ...
3 years, 9 months ago (2017-03-17 19:42:45 UTC) #22
Ilya Sherman
(To be explicit, not lgtm while we're discussing how best to handle the previously jumbled ...
3 years, 9 months ago (2017-03-17 22:59:30 UTC) #23
raymes
I'm not sure I agree that things are so out of whack. The histogram isn't ...
3 years, 9 months ago (2017-03-18 06:21:36 UTC) #24
Ilya Sherman
On 2017/03/18 06:21:36, raymes (OOO until April 10) wrote: > I'm not sure I agree ...
3 years, 9 months ago (2017-03-21 22:30:45 UTC) #25
raymes
My apologies for the delay on this - I was unexpectedly OOO for a couple ...
3 years, 8 months ago (2017-04-11 01:25:16 UTC) #26
Ilya Sherman
On 2017/04/11 01:25:16, raymes wrote: > My apologies for the delay on this - I ...
3 years, 8 months ago (2017-04-11 01:31:42 UTC) #27
raymes
On 2017/04/11 01:31:42, Ilya Sherman wrote: > On 2017/04/11 01:25:16, raymes wrote: > > My ...
3 years, 8 months ago (2017-04-11 01:52:12 UTC) #28
Jialiu Lin
https://codereview.chromium.org/2728303002/diff/40001/components/content_settings/core/common/content_settings.cc File components/content_settings/core/common/content_settings.cc (right): https://codereview.chromium.org/2728303002/diff/40001/components/content_settings/core/common/content_settings.cc#newcode58 components/content_settings/core/common/content_settings.cc:58: {CONTENT_SETTINGS_TYPE_SUBRESOURCE_FILTER, 31}, Do you mind adding "CONTENT_SETTINGS_TYPE_PASSWORD_PROTECTION" as 32 ...
3 years, 8 months ago (2017-04-12 01:03:51 UTC) #30
raymes
On 2017/04/12 01:03:51, Jialiu Lin wrote: > https://codereview.chromium.org/2728303002/diff/40001/components/content_settings/core/common/content_settings.cc > File components/content_settings/core/common/content_settings.cc (right): > > https://codereview.chromium.org/2728303002/diff/40001/components/content_settings/core/common/content_settings.cc#newcode58 ...
3 years, 8 months ago (2017-04-12 03:11:48 UTC) #31
Mark P
On 2017/04/11 01:31:42, Ilya Sherman wrote: > On 2017/04/11 01:25:16, raymes wrote: > > My ...
3 years, 8 months ago (2017-04-12 03:57:52 UTC) #32
raymes
Thanks all for the feedback, I've updated the CL. PTAL when you get a chance ...
3 years, 8 months ago (2017-04-13 03:45:34 UTC) #33
Ilya Sherman
Metrics LGTM, thanks.
3 years, 8 months ago (2017-04-13 07:41:49 UTC) #38
Jialiu Lin
LGTM. Thanks raymes!
3 years, 8 months ago (2017-04-14 22:02:29 UTC) #41
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/2728303002/60001
3 years, 8 months ago (2017-04-17 23:15:09 UTC) #44
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 00:28:40 UTC) #47
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c5e0038e479176c8e130882203ca...

Powered by Google App Engine
This is Rietveld 408576698