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 4f9be78420786fcaeb7d75048c86c5e012108bb6..18687bc4b168fba292cfacd8d993a8c7d3a710a8 100644 |
--- a/content/common/feature_policy/feature_policy.h |
+++ b/content/common/feature_policy/feature_policy.h |
@@ -176,6 +176,10 @@ class CONTENT_EXPORT FeaturePolicy : public blink::WebFeaturePolicy { |
// Unrecognized features will be ignored. |
void SetHeaderPolicy(const ParsedFeaturePolicyHeader& parsed_header); |
+ // Returns true if a header policy has already been set on this feature |
+ // policy. |
+ bool HasSetHeaderPolicy() const; |
+ |
private: |
friend class FeaturePolicyTest; |
FRIEND_TEST_ALL_PREFIXES(NavigatorTestWithBrowserSideNavigation, |