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

Unified Diff: content/common/feature_policy/feature_policy.h

Issue 2797813002: Replicate feature policy container policies. (Closed)
Patch Set: Addressing review comments Created 3 years, 8 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 | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/feature_policy/feature_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/feature_policy/feature_policy.h
diff --git a/content/common/feature_policy/feature_policy.h b/content/common/feature_policy/feature_policy.h
index 9f3c2a1c17a29d1ea0a4ad38ab7d9f772c3137ed..e92eb6adf297a16cf3e8e071f06048f6308dd7af 100644
--- a/content/common/feature_policy/feature_policy.h
+++ b/content/common/feature_policy/feature_policy.h
@@ -102,6 +102,9 @@ struct CONTENT_EXPORT ParsedFeaturePolicyDeclaration {
using ParsedFeaturePolicyHeader = std::vector<ParsedFeaturePolicyDeclaration>;
+bool CONTENT_EXPORT operator==(const ParsedFeaturePolicyDeclaration& lhs,
+ const ParsedFeaturePolicyDeclaration& rhs);
+
class CONTENT_EXPORT FeaturePolicy : public blink::WebFeaturePolicy {
public:
// Represents a collection of origins which make up a whitelist in a feature
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/feature_policy/feature_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698