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

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

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/Source/web/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index 576acc203db093a1574fcc8974064251e48cfc19..3510d708ac97782014fed00cf71ecdba2387e1cf 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -867,9 +867,9 @@ void FrameLoaderClientImpl::didChangeSandboxFlags(Frame* childFrame,
}
void FrameLoaderClientImpl::didSetFeaturePolicyHeader(
- const String& headerValue) {
+ const WebVector<WebFeaturePolicy::ParsedWhitelist>& headerPolicy) {
if (m_webFrame->client())
- m_webFrame->client()->didSetFeaturePolicyHeader(headerValue);
+ m_webFrame->client()->didSetFeaturePolicyHeader(headerPolicy);
}
void FrameLoaderClientImpl::didAddContentSecurityPolicy(

Powered by Google App Engine
This is Rietveld 408576698