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

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

Issue 2697363005: Move DocumentSubresourceFilter to core/common. (Closed)
Patch Set: Clean up. 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..27f64302e17aca3a91aa8d4ac733f3b76a98be64 100644
--- a/components/subresource_filter/content/renderer/subresource_filter_agent.h
+++ b/components/subresource_filter/content/renderer/subresource_filter_agent.h
@@ -10,21 +10,19 @@
#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"
engedy 2017/02/17 16:44:04 nit: Do we need a complete type for std::vector he
pkalinnikov 2017/02/17 17:16:48 Nope. Deleted.
-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 +80,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