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

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

Issue 2645283007: Add the client for accessing Subresource Filter only list. (Closed)
Patch Set: fix unittest 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..03c1b818d139c7f80d7fd28ff706f3b4225cf95b 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
@@ -124,6 +124,7 @@ class ContentSubresourceFilterDriverFactory
const GURL& url);
bool DidURLMatchCurrentActivationList(const GURL& url) const;
+ bool DidURLMatchSubresourceFilterOnlyList(const GURL& url) const;
void AddActivationListMatch(const GURL& url, ActivationList match_type);
void RecordRedirectChainMatchPattern() const;
@@ -145,6 +146,8 @@ class ContentSubresourceFilterDriverFactory
// current page.
DocumentLoadStatistics aggregated_document_statistics_;
+ bool subresource_filter_only_hit_;
+
DISALLOW_COPY_AND_ASSIGN(ContentSubresourceFilterDriverFactory);
};

Powered by Google App Engine
This is Rietveld 408576698