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 18 matching lines...) Expand all Loading... |
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 "platform/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 blink { | 36 namespace blink { |
37 | 37 |
38 class Document; | 38 class Document; |
39 class HTMLDocumentParser; | |
40 class HTMLSourceTracker; | 39 class HTMLSourceTracker; |
41 class XSSInfo; | 40 class XSSInfo; |
42 class XSSAuditorDelegate; | 41 class XSSAuditorDelegate; |
43 | 42 |
44 struct FilterTokenRequest { | 43 struct FilterTokenRequest { |
45 FilterTokenRequest(HTMLToken& token, HTMLSourceTracker& sourceTracker, bool
shouldAllowCDATA) | 44 FilterTokenRequest(HTMLToken& token, HTMLSourceTracker& sourceTracker, bool
shouldAllowCDATA) |
46 : token(token) | 45 : token(token) |
47 , sourceTracker(sourceTracker) | 46 , sourceTracker(sourceTracker) |
48 , shouldAllowCDATA(shouldAllowCDATA) | 47 , shouldAllowCDATA(shouldAllowCDATA) |
49 { } | 48 { } |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 | 123 |
125 State m_state; | 124 State m_state; |
126 bool m_scriptTagFoundInRequest; | 125 bool m_scriptTagFoundInRequest; |
127 unsigned m_scriptTagNestingLevel; | 126 unsigned m_scriptTagNestingLevel; |
128 WTF::TextEncoding m_encoding; | 127 WTF::TextEncoding m_encoding; |
129 }; | 128 }; |
130 | 129 |
131 } | 130 } |
132 | 131 |
133 #endif | 132 #endif |
OLD | NEW |