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

Unified Diff: content/common/content_security_policy_header.h

Issue 2190183002: Forward CSP violation reporting from RenderFrameProxy to RenderFrameImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sanitize report endpoints from IPC against actual CSP contents. Created 4 years, 4 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
« no previous file with comments | « content/common/content_param_traits_macros.h ('k') | content/common/content_security_policy_structs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/content_security_policy_header.h
diff --git a/content/common/content_security_policy_header.h b/content/common/content_security_policy_header.h
deleted file mode 100644
index 66d22e6c28c2f710c31878b0fc82e10f34f956a1..0000000000000000000000000000000000000000
--- a/content/common/content_security_policy_header.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_COMMON_CONTENT_SECURITY_POLICY_HEADER_
-#define CONTENT_COMMON_CONTENT_SECURITY_POLICY_HEADER_
-
-#include <string>
-#include "third_party/WebKit/public/web/WebContentSecurityPolicy.h"
-
-namespace content {
-
-// Represents a single Content Security Policy header (i.e. coming from
-// a single Content-Security-Policy header in an HTTP response, or from
-// a single <meta http-equiv="Content-Security-Policy"...> element).
-struct ContentSecurityPolicyHeader {
- std::string header_value;
- blink::WebContentSecurityPolicyType type;
- blink::WebContentSecurityPolicySource source;
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_CONTENT_SECURITY_POLICY_HEADER_
« no previous file with comments | « content/common/content_param_traits_macros.h ('k') | content/common/content_security_policy_structs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698