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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.h

Issue 2520223002: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… (Closed)
Patch Set: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… Created 4 years 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/Source/core/loader/FrameLoaderClient.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
index b2ed8bc1db89b1a2933ca168973d7346ca782d21..a5ba54961a7737ceb06e9cb5a4679b2aac59cc05 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
@@ -46,6 +46,7 @@
#include "platform/network/ResourceLoadPriority.h"
#include "platform/weborigin/Referrer.h"
#include "public/platform/WebEffectiveConnectionType.h"
+#include "public/platform/WebFeaturePolicy.h"
#include "public/platform/WebInsecureRequestPolicy.h"
#include "public/platform/WebLoadingBehaviorFlag.h"
#include "wtf/Forward.h"
@@ -276,7 +277,8 @@ class CORE_EXPORT FrameLoaderClient : public FrameClient {
virtual void didChangeSandboxFlags(Frame* childFrame, SandboxFlags) {}
- virtual void didSetFeaturePolicyHeader(const String& headerValue) {}
+ virtual void didSetFeaturePolicyHeader(
+ const WebParsedFeaturePolicy& 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 of <meta>

Powered by Google App Engine
This is Rietveld 408576698