| 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 009ba7f7ea06813b52eafd164babd3e317d28b9e..939af5ab97c228d982c6a55608006f9a95b1d8d8 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/WebColor.h"
|
| #include "public/platform/WebCommon.h"
|
| +#include "public/platform/WebContentSecurityPolicy.h"
|
| #include "public/platform/WebContentSecurityPolicyStruct.h"
|
| #include "public/platform/WebEffectiveConnectionType.h"
|
| #include "public/platform/WebFeaturePolicy.h"
|
| @@ -302,6 +303,8 @@ class BLINK_EXPORT WebFrameClient {
|
| WebFormElement form;
|
| bool isCacheDisabled;
|
| WebSourceLocation sourceLocation;
|
| + WebContentSecurityPolicyDisposition
|
| + shouldCheckMainWorldContentSecurityPolicy;
|
|
|
| NavigationPolicyInfo(WebURLRequest& urlRequest)
|
| : extraData(nullptr),
|
| @@ -311,7 +314,9 @@ class BLINK_EXPORT WebFrameClient {
|
| replacesCurrentHistoryItem(false),
|
| isHistoryNavigationInNewChildFrame(false),
|
| isClientRedirect(false),
|
| - isCacheDisabled(false) {}
|
| + isCacheDisabled(false),
|
| + shouldCheckMainWorldContentSecurityPolicy(
|
| + WebContentSecurityPolicyDispositionCheck) {}
|
| };
|
|
|
| virtual WebNavigationPolicy decidePolicyForNavigation(
|
|
|