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

Issue 2894813003: [subresource_filter] Add observer interface for page activation (Closed)

Created:
3 years, 7 months ago by Charlie Harrison
Modified:
3 years, 7 months ago
Reviewers:
Bryan McQuade
CC:
chromium-reviews, darin-cc_chromium.org, jam, subresource-filter-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[subresource_filter] Add observer interface for page activation Right now the throttle manager is the only consumer of the API, but in a followup we will make the SubresourceFilterMetricsObserver. BUG=717590 Review-Url: https://codereview.chromium.org/2894813003 Cr-Commit-Position: refs/heads/master@{#474071} Committed: https://chromium.googlesource.com/chromium/src/+/c47dcd1fde8e0434cd6094974ed51d54a88a44a9

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : OnWebContentsDestroyed #

Patch Set 4 : use another method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -32 lines) Patch
M components/subresource_filter/content/browser/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
M components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.h View 1 2 3 6 chunks +16 lines, -12 lines 0 comments Download
M components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.cc View 1 2 3 4 chunks +33 lines, -11 lines 0 comments Download
M components/subresource_filter/content/browser/content_subresource_filter_throttle_manager_unittest.cc View 9 chunks +29 lines, -8 lines 0 comments Download
A components/subresource_filter/content/browser/subresource_filter_observer.h View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A components/subresource_filter/content/browser/subresource_filter_observer_manager.h View 1 chunk +49 lines, -0 lines 0 comments Download
A components/subresource_filter/content/browser/subresource_filter_observer_manager.cc View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (19 generated)
Charlie Harrison
Bryan: this was my idea to set up an observer interface, WDYT? It doesn't hook ...
3 years, 7 months ago (2017-05-19 15:39:22 UTC) #8
Charlie Harrison
Ok I've thought about it and decided to use a method OnSubresourceFilterGoingAway to prevent use-after-free ...
3 years, 7 months ago (2017-05-22 19:19:09 UTC) #15
Bryan McQuade
lgtm
3 years, 7 months ago (2017-05-23 19:28:27 UTC) #18
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/2894813003/60001
3 years, 7 months ago (2017-05-23 19:48:47 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 21:45:52 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/c47dcd1fde8e0434cd6094974ed5...

Powered by Google App Engine
This is Rietveld 408576698