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

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

Issue 2438743003: Implement GENERICBLOCK option. (Closed)
Patch Set: Address comments from engedy@ Created 4 years, 2 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 | « no previous file | components/subresource_filter/content/renderer/document_subresource_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/subresource_filter/content/renderer/document_subresource_filter.h
diff --git a/components/subresource_filter/content/renderer/document_subresource_filter.h b/components/subresource_filter/content/renderer/document_subresource_filter.h
index 1c3a1dd33449394d187b084413bec156b64df3cc..6cea6bc24b0aa24a6e8b70f8d74dc232bf831db7 100644
--- a/components/subresource_filter/content/renderer/document_subresource_filter.h
+++ b/components/subresource_filter/content/renderer/document_subresource_filter.h
@@ -84,6 +84,11 @@ class DocumentSubresourceFilter
// activation type.
bool filtering_disabled_for_document_ = false;
+ // Indicates whether the document is subject to a whitelist rule with
+ // GENERICBLOCK activation type. Undefined if
+ // |filtering_disabled_for_document_|.
+ bool generic_blocking_rules_disabled_ = false;
+
DISALLOW_COPY_AND_ASSIGN(DocumentSubresourceFilter);
};
« no previous file with comments | « no previous file | components/subresource_filter/content/renderer/document_subresource_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698