| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 2 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 4 * Copyright (C) 2011 Apple Inc. All Rights Reserved. | 4 * Copyright (C) 2011 Apple Inc. All Rights Reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * | 9 * |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 enum XFrameOptionsDisposition { | 57 enum XFrameOptionsDisposition { |
| 58 XFrameOptionsInvalid, | 58 XFrameOptionsInvalid, |
| 59 XFrameOptionsDeny, | 59 XFrameOptionsDeny, |
| 60 XFrameOptionsSameOrigin, | 60 XFrameOptionsSameOrigin, |
| 61 XFrameOptionsAllowAll, | 61 XFrameOptionsAllowAll, |
| 62 XFrameOptionsConflict | 62 XFrameOptionsConflict |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 // Be sure to update the behavior of XSSAuditor::combineXSSProtectionHeaderAndCS
P whenever you change this enum's content or ordering. | 65 // Be sure to update the behavior of |
| 66 // XSSAuditor::combineXSSProtectionHeaderAndCSP whenever you change this enum's |
| 67 // content or ordering. |
| 66 enum ReflectedXSSDisposition { | 68 enum ReflectedXSSDisposition { |
| 67 ReflectedXSSUnset = 0, | 69 ReflectedXSSUnset = 0, |
| 68 AllowReflectedXSS, | 70 AllowReflectedXSS, |
| 69 ReflectedXSSInvalid, | 71 ReflectedXSSInvalid, |
| 70 FilterReflectedXSS, | 72 FilterReflectedXSS, |
| 71 BlockReflectedXSS | 73 BlockReflectedXSS |
| 72 }; | 74 }; |
| 73 | 75 |
| 74 using CommaDelimitedHeaderSet = HashSet<String, CaseFoldingHash>; | 76 using CommaDelimitedHeaderSet = HashSet<String, CaseFoldingHash>; |
| 75 | 77 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 PLATFORM_EXPORT bool parseSuboriginHeader(const String& header, | 145 PLATFORM_EXPORT bool parseSuboriginHeader(const String& header, |
| 144 Suborigin*, | 146 Suborigin*, |
| 145 WTF::Vector<String>& messages); | 147 WTF::Vector<String>& messages); |
| 146 | 148 |
| 147 PLATFORM_EXPORT ContentTypeOptionsDisposition | 149 PLATFORM_EXPORT ContentTypeOptionsDisposition |
| 148 parseContentTypeOptionsHeader(const String& header); | 150 parseContentTypeOptionsHeader(const String& header); |
| 149 | 151 |
| 150 } // namespace blink | 152 } // namespace blink |
| 151 | 153 |
| 152 #endif | 154 #endif |
| OLD | NEW |