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

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

Issue 2446503002: Fix SubResourceFilter to work with PlzNavigate. (Closed)
Patch Set: fix unit tests Created 4 years, 2 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.h
diff --git a/components/subresource_filter/content/browser/content_subresource_filter_driver.h b/components/subresource_filter/content/browser/content_subresource_filter_driver.h
index 8f0cb61acf4f4fb6c7677bb92712b1df9ae3526a..10d0043b63c7d7df5b0a89735e69df0e52b39a30 100644
--- a/components/subresource_filter/content/browser/content_subresource_filter_driver.h
+++ b/components/subresource_filter/content/browser/content_subresource_filter_driver.h
@@ -8,6 +8,8 @@
#include "base/macros.h"
#include "components/subresource_filter/core/common/activation_state.h"
+class GURL;
+
namespace content {
class RenderFrameHost;
} // namespace content
@@ -24,7 +26,8 @@ class ContentSubresourceFilterDriver {
// Instructs the agent on the renderer to set up the subresource filter for
// the currently ongoing provisional document load in the frame.
- virtual void ActivateForProvisionalLoad(ActivationState activation_state);
+ virtual void ActivateForProvisionalLoad(ActivationState activation_state,
+ const GURL& url);
private:
// The RenderFrameHost that this driver belongs to.

Powered by Google App Engine
This is Rietveld 408576698