OLD | NEW |
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 142 |
143 void usesScriptHashAlgorithms(uint8_t ContentSecurityPolicyHashAlgorithm); | 143 void usesScriptHashAlgorithms(uint8_t ContentSecurityPolicyHashAlgorithm); |
144 void usesStyleHashAlgorithms(uint8_t ContentSecurityPolicyHashAlgorithm); | 144 void usesStyleHashAlgorithms(uint8_t ContentSecurityPolicyHashAlgorithm); |
145 | 145 |
146 ReflectedXSSDisposition reflectedXSSDisposition() const; | 146 ReflectedXSSDisposition reflectedXSSDisposition() const; |
147 | 147 |
148 ReferrerPolicy referrerPolicy() const; | 148 ReferrerPolicy referrerPolicy() const; |
149 bool didSetReferrerPolicy() const; | 149 bool didSetReferrerPolicy() const; |
150 | 150 |
151 void setOverrideAllowInlineStyle(bool); | 151 void setOverrideAllowInlineStyle(bool); |
| 152 void setOverrideURLForSelf(const KURL&); |
152 | 153 |
153 bool isActive() const; | 154 bool isActive() const; |
154 | 155 |
155 void logToConsole(PassRefPtrWillBeRawPtr<ConsoleMessage>); | 156 void logToConsole(PassRefPtrWillBeRawPtr<ConsoleMessage>); |
156 | 157 |
157 void reportDirectiveAsSourceExpression(const String& directiveName, const St
ring& sourceExpression); | 158 void reportDirectiveAsSourceExpression(const String& directiveName, const St
ring& sourceExpression); |
158 void reportDuplicateDirective(const String&); | 159 void reportDuplicateDirective(const String&); |
159 void reportInvalidDirectiveValueCharacter(const String& directiveName, const
String& value); | 160 void reportInvalidDirectiveValueCharacter(const String& directiveName, const
String& value); |
160 void reportInvalidPathCharacter(const String& directiveName, const String& v
alue, const char); | 161 void reportInvalidPathCharacter(const String& directiveName, const String& v
alue, const char); |
161 void reportInvalidPluginTypes(const String&); | 162 void reportInvalidPluginTypes(const String&); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 SandboxFlags m_sandboxMask; | 218 SandboxFlags m_sandboxMask; |
218 ReferrerPolicy m_referrerPolicy; | 219 ReferrerPolicy m_referrerPolicy; |
219 String m_disableEvalErrorMessage; | 220 String m_disableEvalErrorMessage; |
220 | 221 |
221 OwnPtr<CSPSource> m_selfSource; | 222 OwnPtr<CSPSource> m_selfSource; |
222 }; | 223 }; |
223 | 224 |
224 } | 225 } |
225 | 226 |
226 #endif | 227 #endif |
OLD | NEW |