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

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

Issue 2520223002: Replicate a parsed feature policy representation so it doesn't need to be parsed in the browser pro… (Closed)
Patch Set: 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/WebRemoteFrame.h
diff --git a/third_party/WebKit/public/web/WebRemoteFrame.h b/third_party/WebKit/public/web/WebRemoteFrame.h
index b79bf2ac88a0927e1155120925ac738a5148c4dd..2bf2f09fe62c21c4a2927bc03297ccff376c67ad 100644
--- a/third_party/WebKit/public/web/WebRemoteFrame.h
+++ b/third_party/WebKit/public/web/WebRemoteFrame.h
@@ -9,6 +9,7 @@
#include "public/web/WebContentSecurityPolicy.h"
#include "public/web/WebFrame.h"
#include "public/web/WebSandboxFlags.h"
+#include "public/platform/WebFeaturePolicy.h"
namespace blink {
@@ -55,7 +56,8 @@ class WebRemoteFrame : public WebFrame {
const WebString& uniqueName) const = 0;
virtual void setReplicatedFeaturePolicyHeader(
- const WebString& headerValue) const = 0;
+ const WebVector<WebFeaturePolicy::ParsedWhitelist>& headerPolicy)
+ const = 0;
// Adds |header| to the set of replicated CSP headers.
virtual void addReplicatedContentSecurityPolicyHeader(

Powered by Google App Engine
This is Rietveld 408576698