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

Unified Diff: components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc

Issue 2838063002: [on-hold][subresource_filter] Add ActivationTracker to track all activated contents (Closed)
Patch Set: fix incognito Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
diff --git a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
index 90c0cb1883d1e5745533ad1ee9340bd526de8d57..3eb96ad97f41d86d0a08ac85d4b0c98aca1eebef 100644
--- a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
+++ b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.cc
@@ -214,6 +214,11 @@ void ContentSubresourceFilterDriverFactory::WillProcessResponse(
throttle_manager_->NotifyPageActivationComputed(navigation_handle, state);
}
+void ContentSubresourceFilterDriverFactory::OnPageActivated(
+ const ActivationState& activation_state) {
+ client_->OnPageActivated(activation_state);
+}
+
void ContentSubresourceFilterDriverFactory::OnFirstSubresourceLoadDisallowed() {
const auto configurations = GetActiveConfigurations();
if (configurations->the_one_and_only().should_suppress_notifications)

Powered by Google App Engine
This is Rietveld 408576698