| Index: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| index a5233e501940df45ef270d0eaff95fef20e938c7..73afb130e3dfb2cdfbf9a2bbbf72ac9ea9c2e5d7 100644
|
| --- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| @@ -70,6 +70,7 @@
|
| #include "platform/UserGestureIndicator.h"
|
| #include "platform/exported/WrappedResourceRequest.h"
|
| #include "platform/exported/WrappedResourceResponse.h"
|
| +#include "platform/feature_policy/FeaturePolicy.h"
|
| #include "platform/network/HTTPParsers.h"
|
| #include "platform/network/mime/MIMETypeRegistry.h"
|
| #include "platform/plugins/PluginData.h"
|
| @@ -838,12 +839,15 @@ void LocalFrameClientImpl::DidUpdateToUniqueOrigin() {
|
| web_frame_->GetSecurityOrigin().IsPotentiallyTrustworthy());
|
| }
|
|
|
| -void LocalFrameClientImpl::DidChangeSandboxFlags(Frame* child_frame,
|
| - SandboxFlags flags) {
|
| +void LocalFrameClientImpl::DidChangeFramePolicy(
|
| + Frame* child_frame,
|
| + SandboxFlags flags,
|
| + const WebParsedFeaturePolicy& container_policy) {
|
| if (!web_frame_->Client())
|
| return;
|
| - web_frame_->Client()->DidChangeSandboxFlags(
|
| - WebFrame::FromFrame(child_frame), static_cast<WebSandboxFlags>(flags));
|
| + web_frame_->Client()->DidChangeFramePolicy(
|
| + WebFrame::FromFrame(child_frame), static_cast<WebSandboxFlags>(flags),
|
| + container_policy);
|
| }
|
|
|
| void LocalFrameClientImpl::DidSetFeaturePolicyHeader(
|
|
|