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

Unified Diff: content/common/content_security_policy_structs.cc

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_security_policy_structs.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/content_security_policy_structs.cc
diff --git a/content/public/gpu/content_gpu_client.cc b/content/common/content_security_policy_structs.cc
similarity index 52%
copy from content/public/gpu/content_gpu_client.cc
copy to content/common/content_security_policy_structs.cc
index c2a8eacc3c51547a6b99d409e6c43c316feadb6b..7b8d5477fd620d6f59ffa39f50d1cec20a051df8 100644
--- a/content/public/gpu/content_gpu_client.cc
+++ b/content/common/content_security_policy_structs.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/public/gpu/content_gpu_client.h"
+#include "content/common/content_security_policy_structs.h"
namespace content {
-gpu::SyncPointManager* ContentGpuClient::GetSyncPointManager() {
- return nullptr;
-}
+ContentSecurityPolicyViolation::ContentSecurityPolicyViolation() {}
+
+ContentSecurityPolicyViolation::~ContentSecurityPolicyViolation() {}
} // namespace content
« no previous file with comments | « content/common/content_security_policy_structs.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698