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

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

Issue 2669833004: Refactor subresource filter activation to support PlzNavigate cleanly. (Closed)
Patch Set: Rebase. Created 3 years, 10 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.h
diff --git a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h
index 0ec55f403a2cf55b0cb26d26cdb4ee3541a688a3..0750af6cd00f71dcaef5c777b24178440f39783f 100644
--- a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h
+++ b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h
@@ -118,7 +118,8 @@ class ContentSubresourceFilterDriverFactory
// activation signal should be sent.
bool ShouldActivateForMainFrameURL(const GURL& url) const;
void ActivateForFrameHostIfNeeded(content::RenderFrameHost* render_frame_host,
- const GURL& url);
+ const GURL& url,
+ bool failed_navigation);
// Internal implementation of ReadyToCommitNavigation which doesn't use
// NavigationHandle to ease unit tests.
@@ -126,7 +127,8 @@ class ContentSubresourceFilterDriverFactory
content::RenderFrameHost* render_frame_host,
const GURL& url,
const content::Referrer& referrer,
- ui::PageTransition page_transition);
+ ui::PageTransition page_transition,
+ bool failed_navigation);
bool DidURLMatchCurrentActivationList(const GURL& url) const;

Powered by Google App Engine
This is Rietveld 408576698