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

Issue 2777093007: [subresource_filter] Add metrics for UI / related things (Closed)

Created:
3 years, 8 months ago by Charlie Harrison
Modified:
3 years, 8 months ago
Reviewers:
msramek, melandory, rkaplow
CC:
chromium-reviews, subresource-filter-reviews_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[subresource_filter] Add metrics for UI / related things This patch adds a new profile keyed service for keeping profile-scoped state for the subresource filter. For now, this is used to implement a content_service::Observer to be notified of any ContentSettings changes for that particular profile. BUG=705260 Review-Url: https://codereview.chromium.org/2777093007 Cr-Commit-Position: refs/heads/master@{#460792} Committed: https://chromium.googlesource.com/chromium/src/+/6b2ff2dfdf2c6edfe16f8fe1765b9637d250cf3b

Patch Set 1 #

Total comments: 16

Patch Set 2 : msramek review + unit tests #

Total comments: 1

Patch Set 3 : msramek review #

Total comments: 2

Patch Set 4 : rkaplow review #

Messages

Total messages: 39 (28 generated)
Charlie Harrison
msramek: Would you mind taking a first look at the usage of content_settings::Observer? In particular, ...
3 years, 8 months ago (2017-03-28 20:52:02 UTC) #5
msramek
Generally looks good, but I left a bunch of comments :) https://codereview.chromium.org/2777093007/diff/1/chrome/browser/subresource_filter/subresource_filter_content_settings_observer_factory.cc File chrome/browser/subresource_filter/subresource_filter_content_settings_observer_factory.cc (right): ...
3 years, 8 months ago (2017-03-29 09:41:26 UTC) #12
Charlie Harrison
Thanks for the review. I've added a unit test suite. One question. I noticed that ...
3 years, 8 months ago (2017-03-29 15:23:32 UTC) #15
msramek
Nice! LGTM. https://codereview.chromium.org/2777093007/diff/1/chrome/browser/subresource_filter/subresource_filter_content_settings_observer_factory.cc File chrome/browser/subresource_filter/subresource_filter_content_settings_observer_factory.cc (right): https://codereview.chromium.org/2777093007/diff/1/chrome/browser/subresource_filter/subresource_filter_content_settings_observer_factory.cc#newcode41 chrome/browser/subresource_filter/subresource_filter_content_settings_observer_factory.cc:41: if (global_setting == CONTENT_SETTING_BLOCK) { On 2017/03/29 ...
3 years, 8 months ago (2017-03-29 17:37:30 UTC) #18
Charlie Harrison
Many thanks for the review. Tanja: would you take a look at this patch? If ...
3 years, 8 months ago (2017-03-29 17:47:34 UTC) #21
melandory
lgtm
3 years, 8 months ago (2017-03-30 12:17:09 UTC) #29
Charlie Harrison
rkaplow, would you PTAL at histograms.xml?
3 years, 8 months ago (2017-03-30 12:32:17 UTC) #31
rkaplow
lgtm https://codereview.chromium.org/2777093007/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2777093007/diff/40001/tools/metrics/histograms/histograms.xml#newcode69257 tools/metrics/histograms/histograms.xml:69257: + SubresourceFilter. can you mention exactly when this ...
3 years, 8 months ago (2017-03-30 15:04:08 UTC) #32
Charlie Harrison
https://codereview.chromium.org/2777093007/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2777093007/diff/40001/tools/metrics/histograms/histograms.xml#newcode69257 tools/metrics/histograms/histograms.xml:69257: + SubresourceFilter. On 2017/03/30 15:04:08, rkaplow (slow) wrote: > ...
3 years, 8 months ago (2017-03-30 15:19:05 UTC) #33
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/2777093007/50001
3 years, 8 months ago (2017-03-30 15:19:54 UTC) #36
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 16:44:30 UTC) #39
Message was sent while issue was closed.
Committed patchset #4 (id:50001) as
https://chromium.googlesource.com/chromium/src/+/6b2ff2dfdf2c6edfe16f8fe1765b...

Powered by Google App Engine
This is Rietveld 408576698