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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2520223002: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… (Closed)
Patch Set: Fp2 Created 4 years, 1 month 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: third_party/WebKit/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index ddf19ed3e9b8f5335fd7011e9acee8e51f7e35da..0c21a6c121b09d35d8732d2e4a785a3f94e12df3 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -50,6 +50,7 @@
#include "public/platform/BlameContext.h"
#include "public/platform/WebCommon.h"
#include "public/platform/WebEffectiveConnectionType.h"
+#include "public/platform/WebFeaturePolicy.h"
#include "public/platform/WebFileSystem.h"
#include "public/platform/WebFileSystemType.h"
#include "public/platform/WebInsecureRequestPolicy.h"
@@ -231,7 +232,8 @@ class BLINK_EXPORT WebFrameClient {
// Called when a Feature-Policy HTTP header is encountered while loading the
// frame's document.
- virtual void didSetFeaturePolicyHeader(const WebString& headerValue) {}
+ virtual void didSetFeaturePolicyHeader(
+ const WebVector<WebFeaturePolicy::ParsedWhitelist>& parsedHeader) {}
// Called when a new Content Security Policy is added to the frame's
// document. This can be triggered by handling of HTTP headers, handling

Powered by Google App Engine
This is Rietveld 408576698