| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Adam Barth. All Rights Reserved. | 2 * Copyright (C) 2011 Adam Barth. 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 const HTMLToken::Attribute&); | 121 const HTMLToken::Attribute&); |
| 122 String canonicalize(String, TruncationKind); | 122 String canonicalize(String, TruncationKind); |
| 123 | 123 |
| 124 bool isContainedInRequest(const String&); | 124 bool isContainedInRequest(const String&); |
| 125 bool isLikelySafeResource(const String& url); | 125 bool isLikelySafeResource(const String& url); |
| 126 | 126 |
| 127 KURL m_documentURL; | 127 KURL m_documentURL; |
| 128 bool m_isEnabled; | 128 bool m_isEnabled; |
| 129 | 129 |
| 130 ReflectedXSSDisposition m_xssProtection; | 130 ReflectedXSSDisposition m_xssProtection; |
| 131 bool m_didSendValidCSPHeader; | |
| 132 bool m_didSendValidXSSProtectionHeader; | 131 bool m_didSendValidXSSProtectionHeader; |
| 133 | 132 |
| 134 String m_decodedURL; | 133 String m_decodedURL; |
| 135 String m_decodedHTTPBody; | 134 String m_decodedHTTPBody; |
| 136 String m_httpBodyAsString; | 135 String m_httpBodyAsString; |
| 137 std::unique_ptr<SuffixTree<ASCIICodebook>> m_decodedHTTPBodySuffixTree; | 136 std::unique_ptr<SuffixTree<ASCIICodebook>> m_decodedHTTPBodySuffixTree; |
| 138 | 137 |
| 139 State m_state; | 138 State m_state; |
| 140 bool m_scriptTagFoundInRequest; | 139 bool m_scriptTagFoundInRequest; |
| 141 unsigned m_scriptTagNestingLevel; | 140 unsigned m_scriptTagNestingLevel; |
| 142 WTF::TextEncoding m_encoding; | 141 WTF::TextEncoding m_encoding; |
| 143 }; | 142 }; |
| 144 | 143 |
| 145 } // namespace blink | 144 } // namespace blink |
| 146 | 145 |
| 147 #endif | 146 #endif |
| OLD | NEW |