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

Unified Diff: components/subresource_filter/content/renderer/subresource_filter_agent.h

Issue 2697363005: Move DocumentSubresourceFilter to core/common. (Closed)
Patch Set: Address comments from engedy@. 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/renderer/subresource_filter_agent.h
diff --git a/components/subresource_filter/content/renderer/subresource_filter_agent.h b/components/subresource_filter/content/renderer/subresource_filter_agent.h
index 0a72abe290d6f1ea0dc4b647cfab09f663dd5604..7e3c99e05825774167b4c9132fe16af7cba032b6 100644
--- a/components/subresource_filter/content/renderer/subresource_filter_agent.h
+++ b/components/subresource_filter/content/renderer/subresource_filter_agent.h
@@ -6,25 +6,22 @@
#define COMPONENTS_SUBRESOURCE_FILTER_CONTENT_RENDERER_SUBRESOURCE_FILTER_AGENT_H_
#include <memory>
-#include <vector>
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
-#include "components/subresource_filter/content/common/document_load_statistics.h"
#include "components/subresource_filter/core/common/activation_level.h"
#include "content/public/renderer/render_frame_observer.h"
#include "url/gurl.h"
-class GURL;
-
namespace blink {
class WebDocumentSubresourceFilter;
} // namespace blink
namespace subresource_filter {
+struct DocumentLoadStatistics;
class UnverifiedRulesetDealer;
-class DocumentSubresourceFilter;
+class WebDocumentSubresourceFilterImpl;
// The renderer-side agent of the ContentSubresourceFilterDriver. There is one
// instance per RenderFrame, responsible for setting up the subresource filter
@@ -82,7 +79,8 @@ class SubresourceFilterAgent
ActivationLevel activation_level_for_next_commit_ = ActivationLevel::DISABLED;
bool measure_performance_for_next_commit_ = false;
- base::WeakPtr<DocumentSubresourceFilter> filter_for_last_committed_load_;
+ base::WeakPtr<WebDocumentSubresourceFilterImpl>
+ filter_for_last_committed_load_;
DISALLOW_COPY_AND_ASSIGN(SubresourceFilterAgent);
};

Powered by Google App Engine
This is Rietveld 408576698