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

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

Issue 2612793002: Implement ContentSecurityPolicy on the browser-side. (Closed)
Patch Set: Nit. Created 3 years, 10 months 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/AssertMatchingEnums.cpp
diff --git a/third_party/WebKit/Source/web/AssertMatchingEnums.cpp b/third_party/WebKit/Source/web/AssertMatchingEnums.cpp
index be8e37a69e1f09e0ff420f09b9527a370cae7795..70a20942c03bc64483697f5448e0a441255380c2 100644
--- a/third_party/WebKit/Source/web/AssertMatchingEnums.cpp
+++ b/third_party/WebKit/Source/web/AssertMatchingEnums.cpp
@@ -44,6 +44,7 @@
#include "core/frame/Frame.h"
#include "core/frame/FrameTypes.h"
#include "core/frame/Settings.h"
+#include "core/frame/csp/CSPSource.h"
#include "core/frame/csp/ContentSecurityPolicy.h"
#include "core/html/HTMLInputElement.h"
#include "core/html/HTMLMediaElement.h"
@@ -80,6 +81,8 @@
#include "platform/weborigin/SchemeRegistry.h"
#include "public/platform/WebApplicationCacheHost.h"
#include "public/platform/WebClipboard.h"
+#include "public/platform/WebContentSecurityPolicy.h"
+#include "public/platform/WebContentSecurityPolicyStruct.h"
#include "public/platform/WebCursorInfo.h"
#include "public/platform/WebFileError.h"
#include "public/platform/WebFileInfo.h"
@@ -113,7 +116,6 @@
#include "public/web/WebAXObject.h"
#include "public/web/WebClientRedirectPolicy.h"
#include "public/web/WebConsoleMessage.h"
-#include "public/web/WebContentSecurityPolicy.h"
#include "public/web/WebFrameClient.h"
#include "public/web/WebFrameLoadType.h"
#include "public/web/WebHistoryCommitType.h"
@@ -747,6 +749,9 @@ STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceHTTP,
STATIC_ASSERT_ENUM(WebContentSecurityPolicySourceMeta,
ContentSecurityPolicyHeaderSourceMeta);
+STATIC_ASSERT_ENUM(WebWildcardDispositionNoWildcard, CSPSource::NoWildcard);
+STATIC_ASSERT_ENUM(WebWildcardDispositionHasWildcard, CSPSource::HasWildcard);
+
STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersionUnknown,
ResourceResponse::HTTPVersionUnknown);
STATIC_ASSERT_ENUM(WebURLResponse::HTTPVersion_0_9,

Powered by Google App Engine
This is Rietveld 408576698