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

Issue 1849673002: Add metrics for user manually added exceptions (Closed)

Created:
4 years, 8 months ago by lshang
Modified:
4 years, 8 months ago
Reviewers:
raymes, Ilya Sherman
CC:
chromium-reviews, dbeam+watch-options_chromium.org, michaelpg+watch-options_chromium.org, asvitkine+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add metrics for user manually added exceptions This metric is for collecting numbers of exceptions for all content setting types. BUG=604612 Committed: https://crrev.com/bcbfffbbf5ed955c59e825ebfe92fbff24316aeb Cr-Commit-Position: refs/heads/master@{#388711}

Patch Set 1 #

Patch Set 2 : add metrics for all domain scoped types exceptions #

Patch Set 3 : format #

Total comments: 6

Patch Set 4 : rebase #

Patch Set 5 : address review comments #

Patch Set 6 : fix patch failures #

Total comments: 8

Patch Set 7 : address review comments #

Patch Set 8 : remove header file #

Total comments: 11

Patch Set 9 : address review comments #

Patch Set 10 : iterate over websiteSettingsInfo and change metrics buckets #

Total comments: 1

Patch Set 11 : merge two same suffixes #

Total comments: 10

Patch Set 12 : address review comments #

Patch Set 13 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -0 lines) Patch
M components/content_settings/core/browser/host_content_settings_map.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M components/content_settings/core/browser/host_content_settings_map.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +27 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
lshang
Hi Raymes, please take a look at this cl. I added some ContentSettingsType in histogram.xml, ...
4 years, 8 months ago (2016-03-31 00:47:23 UTC) #3
lshang
Hi Raymes, I added some more metrics. They collect numbers of exceptions of other domain ...
4 years, 8 months ago (2016-04-06 07:28:26 UTC) #4
raymes
https://codereview.chromium.org/1849673002/diff/40001/components/content_settings/core/browser/content_settings_pref.cc File components/content_settings/core/browser/content_settings_pref.cc (right): https://codereview.chromium.org/1849673002/diff/40001/components/content_settings/core/browser/content_settings_pref.cc#newcode388 components/content_settings/core/browser/content_settings_pref.cc:388: for (ExceptionUmaStats stats : ContentSettingExceptionUmaMap) { Can we move ...
4 years, 8 months ago (2016-04-07 04:57:59 UTC) #5
lshang
I moved the metrics to HCSM and collect uma data for all content types. Could ...
4 years, 8 months ago (2016-04-11 06:31:07 UTC) #6
raymes
Thanks Liu! https://codereview.chromium.org/1849673002/diff/100001/chrome/browser/ui/webui/options/content_settings_handler.cc File chrome/browser/ui/webui/options/content_settings_handler.cc (right): https://codereview.chromium.org/1849673002/diff/100001/chrome/browser/ui/webui/options/content_settings_handler.cc#newcode1540 chrome/browser/ui/webui/options/content_settings_handler.cc:1540: histogram_value, num_values); Do you think this histogram ...
4 years, 8 months ago (2016-04-12 23:22:39 UTC) #7
lshang
Hi Raymes, I add website settings and use dynamically suffixed histogram. PTAL thanks! https://codereview.chromium.org/1849673002/diff/100001/chrome/browser/ui/webui/options/content_settings_handler.cc File ...
4 years, 8 months ago (2016-04-14 04:55:29 UTC) #8
raymes
https://codereview.chromium.org/1849673002/diff/140001/components/content_settings/core/browser/host_content_settings_map.cc File components/content_settings/core/browser/host_content_settings_map.cc (right): https://codereview.chromium.org/1849673002/diff/140001/components/content_settings/core/browser/host_content_settings_map.cc#newcode498 components/content_settings/core/browser/host_content_settings_map.cc:498: info->website_settings_info()->name(); I think we can just iterate through WebsiteSettings ...
4 years, 8 months ago (2016-04-14 06:21:59 UTC) #9
lshang
Hi Raymes, can you take a look at the new change? Thanks! https://codereview.chromium.org/1849673002/diff/140001/components/content_settings/core/browser/host_content_settings_map.cc File components/content_settings/core/browser/host_content_settings_map.cc ...
4 years, 8 months ago (2016-04-19 02:51:53 UTC) #10
raymes
lgtm https://codereview.chromium.org/1849673002/diff/180001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1849673002/diff/180001/tools/metrics/histograms/histograms.xml#newcode91483 tools/metrics/histograms/histograms.xml:91483: +</histogram_suffixes> I think we can merge this with ...
4 years, 8 months ago (2016-04-19 05:52:33 UTC) #11
lshang
+isherman for OWNER's approval, thanks!
4 years, 8 months ago (2016-04-19 07:15:06 UTC) #15
Ilya Sherman
Thanks. LGTM % nits: https://codereview.chromium.org/1849673002/diff/200001/components/content_settings/core/browser/host_content_settings_map.cc File components/content_settings/core/browser/host_content_settings_map.cc (right): https://codereview.chromium.org/1849673002/diff/200001/components/content_settings/core/browser/host_content_settings_map.cc#newcode13 components/content_settings/core/browser/host_content_settings_map.cc:13: #include "base/metrics/histogram_macros.h" nit: Since you're ...
4 years, 8 months ago (2016-04-20 00:15:42 UTC) #16
lshang
https://codereview.chromium.org/1849673002/diff/200001/components/content_settings/core/browser/host_content_settings_map.cc File components/content_settings/core/browser/host_content_settings_map.cc (right): https://codereview.chromium.org/1849673002/diff/200001/components/content_settings/core/browser/host_content_settings_map.cc#newcode13 components/content_settings/core/browser/host_content_settings_map.cc:13: #include "base/metrics/histogram_macros.h" On 2016/04/20 00:15:42, Ilya Sherman wrote: > ...
4 years, 8 months ago (2016-04-20 05:24:02 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849673002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849673002/240001
4 years, 8 months ago (2016-04-21 07:27:21 UTC) #20
commit-bot: I haz the power
Failed to apply the patch.
4 years, 8 months ago (2016-04-21 07:32:01 UTC) #22
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:32:15 UTC) #25
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/bcbfffbbf5ed955c59e825ebfe92fbff24316aeb
Cr-Commit-Position: refs/heads/master@{#388711}

Powered by Google App Engine
This is Rietveld 408576698