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 11 matching lines...) Expand all Loading... |
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 */ | 24 */ |
25 | 25 |
26 #ifndef XSSAuditor_h | 26 #ifndef XSSAuditor_h |
27 #define XSSAuditor_h | 27 #define XSSAuditor_h |
28 | 28 |
29 #include "core/html/parser/HTMLToken.h" | 29 #include "core/html/parser/HTMLToken.h" |
30 #include "platform/network/HTTPParsers.h" | 30 #include "platform/network/HTTPParsers.h" |
31 #include "platform/text/SuffixTree.h" | 31 #include "platform/text/SuffixTree.h" |
32 #include "weborigin/KURL.h" | 32 #include "platform/weborigin/KURL.h" |
33 #include "wtf/PassOwnPtr.h" | 33 #include "wtf/PassOwnPtr.h" |
34 #include "wtf/text/TextEncoding.h" | 34 #include "wtf/text/TextEncoding.h" |
35 | 35 |
36 namespace WebCore { | 36 namespace WebCore { |
37 | 37 |
38 class Document; | 38 class Document; |
39 class HTMLDocumentParser; | 39 class HTMLDocumentParser; |
40 class HTMLSourceTracker; | 40 class HTMLSourceTracker; |
41 class XSSInfo; | 41 class XSSInfo; |
42 class XSSAuditorDelegate; | 42 class XSSAuditorDelegate; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 119 |
120 State m_state; | 120 State m_state; |
121 bool m_scriptTagFoundInRequest; | 121 bool m_scriptTagFoundInRequest; |
122 unsigned m_scriptTagNestingLevel; | 122 unsigned m_scriptTagNestingLevel; |
123 WTF::TextEncoding m_encoding; | 123 WTF::TextEncoding m_encoding; |
124 }; | 124 }; |
125 | 125 |
126 } | 126 } |
127 | 127 |
128 #endif | 128 #endif |
OLD | NEW |