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

Unified Diff: content/common/content_security_policy/csp_disposition_enum.h

Issue 2655463006: PlzNavigate: Enforce 'frame-src' CSP on the browser. (Closed)
Patch Set: Rebase. Created 3 years, 9 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: content/common/content_security_policy/csp_disposition_enum.h
diff --git a/content/common/content_security_policy/csp_disposition_enum.h b/content/common/content_security_policy/csp_disposition_enum.h
new file mode 100644
index 0000000000000000000000000000000000000000..8faf3d9863c169f1e8481e2957c87a1653562a8c
--- /dev/null
+++ b/content/common/content_security_policy/csp_disposition_enum.h
@@ -0,0 +1,19 @@
+// Copyright 2017 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_CSP_DISPOSITION_ENUM_
+#define CONTENT_COMMON_CONTENT_SECURITY_POLICY_CSP_DISPOSITION_ENUM_
+
+namespace content {
+
+// Whether or not the Content Security Policy should be enforced.
+enum class CSPDisposition {
+ DO_NOT_CHECK,
+ CHECK,
+
+ LAST = CHECK
+};
+
+} // namespace content
+#endif // CONTENT_COMMON_CONTENT_SECURITY_POLICY_CSP_DISPOSITION_ENUM_

Powered by Google App Engine
This is Rietveld 408576698