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

Unified Diff: components/subresource_filter/content/browser/content_subresource_filter_driver.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.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 b340999c3162ce2bdd08fe62e0b3e47a1534fe43..f194dc79d44100ba9c905b2b680513c2a379296e 100644
--- a/components/subresource_filter/content/browser/content_subresource_filter_driver.h
+++ b/components/subresource_filter/content/browser/content_subresource_filter_driver.h
@@ -8,8 +8,6 @@
#include "base/macros.h"
#include "components/subresource_filter/core/common/activation_level.h"
-class GURL;
-
namespace content {
class RenderFrameHost;
} // namespace content
@@ -24,11 +22,10 @@ class ContentSubresourceFilterDriver {
content::RenderFrameHost* render_frame_host);
virtual ~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(ActivationLevel activation_level,
- const GURL& url,
- bool measure_performance);
+ // Instructs the agent on the renderer side to set up subresource filtering at
+ // the specified |activation_level| for the next load committed in this frame.
+ virtual void ActivateForNextCommittedLoad(ActivationLevel activation_level,
+ bool measure_performance);
private:
// The RenderFrameHost that this driver belongs to.

Powered by Google App Engine
This is Rietveld 408576698