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

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

Issue 2772393002: [subresource_filter] Add domains to content settings whitelist (Closed)
Patch Set: fix join string rebase Created 3 years, 9 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
« no previous file with comments | « components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/subresource_filter/content/browser/subresource_filter_client.h
diff --git a/components/subresource_filter/content/browser/subresource_filter_client.h b/components/subresource_filter/content/browser/subresource_filter_client.h
index 74fbf5f96f85256e33c752ab38c1433b3e38766a..c9beae7f6556998b3d120ac1da523d2cee744b14 100644
--- a/components/subresource_filter/content/browser/subresource_filter_client.h
+++ b/components/subresource_filter/content/browser/subresource_filter_client.h
@@ -24,6 +24,10 @@ class SubresourceFilterClient {
// Returns true if the given URL is whitelisted from activation via content
// settings. This should only be called for main frame URLs.
virtual bool IsWhitelistedByContentSettings(const GURL& url) = 0;
+
+ // Adds |url| to the BLOCKED state via content settings for the current
+ // profile.
+ virtual void WhitelistByContentSettings(const GURL& url) = 0;
};
} // namespace subresource_filter
« no previous file with comments | « components/subresource_filter/content/browser/content_subresource_filter_driver_factory_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698