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

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 49727a6ed25226998f872f1f7a53540c4f796b50..588b43611233ffbbe82bed9e5ce93b4dad856491 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
@@ -115,13 +115,15 @@ 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.
void ReadyToCommitNavigationInternal(
content::RenderFrameHost* render_frame_host,
- const GURL& url);
+ const GURL& url,
+ bool failed_navigation);
bool DidURLMatchCurrentActivationList(const GURL& url) const;

Powered by Google App Engine
This is Rietveld 408576698