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

Side by Side Diff: Source/core/frame/csp/ContentSecurityPolicy.h

Issue 856753003: MIX: Rename the CSP directive. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Oops. Created 5 years, 11 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google, Inc. All rights reserved. 2 * Copyright (C) 2011 Google, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 static const char PluginTypes[]; 83 static const char PluginTypes[];
84 static const char ReflectedXSS[]; 84 static const char ReflectedXSS[];
85 static const char Referrer[]; 85 static const char Referrer[];
86 86
87 // Manifest Directives (to be merged into CSP Level 2) 87 // Manifest Directives (to be merged into CSP Level 2)
88 // https://w3c.github.io/manifest/#content-security-policy 88 // https://w3c.github.io/manifest/#content-security-policy
89 static const char ManifestSrc[]; 89 static const char ManifestSrc[];
90 90
91 // Mixed Content Directive 91 // Mixed Content Directive
92 // https://w3c.github.io/webappsec/specs/mixedcontent/#strict-mode 92 // https://w3c.github.io/webappsec/specs/mixedcontent/#strict-mode
93 static const char StrictMixedContentChecking[]; 93 static const char BlockAllMixedContent[];
94 94
95 enum ReportingStatus { 95 enum ReportingStatus {
96 SendReport, 96 SendReport,
97 SuppressReport 97 SuppressReport
98 }; 98 };
99 99
100 static PassRefPtr<ContentSecurityPolicy> create() 100 static PassRefPtr<ContentSecurityPolicy> create()
101 { 101 {
102 return adoptRef(new ContentSecurityPolicy()); 102 return adoptRef(new ContentSecurityPolicy());
103 } 103 }
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 ReferrerPolicy m_referrerPolicy; 236 ReferrerPolicy m_referrerPolicy;
237 String m_disableEvalErrorMessage; 237 String m_disableEvalErrorMessage;
238 238
239 OwnPtr<CSPSource> m_selfSource; 239 OwnPtr<CSPSource> m_selfSource;
240 String m_selfProtocol; 240 String m_selfProtocol;
241 }; 241 };
242 242
243 } 243 }
244 244
245 #endif 245 #endif
OLDNEW
« no previous file with comments | « Source/core/frame/csp/CSPDirectiveList.cpp ('k') | Source/core/frame/csp/ContentSecurityPolicy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698