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

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 HistoryNavTest 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 ee1abdaf0b06ebf4ff0bd5f7da07a6ed953cf277..ce1c709e15ddf819ed59d73a32578bbd6834931c 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
@@ -153,6 +153,7 @@ class ContentSubresourceFilterDriverFactory
ui::PageTransition page_transition);
bool DidURLMatchCurrentActivationList(const GURL& url) const;
+ bool DidURLMatchSubresourceFilterOnlyList(const GURL& url) const;
void AddActivationListMatch(const GURL& url, ActivationList match_type);
void RecordRedirectChainMatchPattern() const;
@@ -174,6 +175,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