OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2010 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 12 matching lines...) Expand all Loading... |
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 #include "config.h" | 26 #include "config.h" |
27 #include "core/html/parser/HTMLMetaCharsetParser.h" | 27 #include "core/html/parser/HTMLMetaCharsetParser.h" |
28 | 28 |
29 #include "HTMLNames.h" | 29 #include "HTMLNames.h" |
30 #include "core/html/parser/HTMLParserIdioms.h" | 30 #include "core/html/parser/HTMLParserIdioms.h" |
31 #include "core/html/parser/HTMLParserOptions.h" | 31 #include "core/html/parser/HTMLParserOptions.h" |
32 #include "core/html/parser/HTMLTokenizer.h" | 32 #include "core/html/parser/HTMLTokenizer.h" |
33 #include "wtf/text/TextCodec.h" | |
34 #include "wtf/text/TextEncodingRegistry.h" | 33 #include "wtf/text/TextEncodingRegistry.h" |
35 #include "wtf/text/WTFString.h" | 34 #include "wtf/text/WTFString.h" |
36 | 35 |
37 using namespace WTF; | 36 using namespace WTF; |
38 | 37 |
39 namespace WebCore { | 38 namespace WebCore { |
40 | 39 |
41 using namespace HTMLNames; | 40 using namespace HTMLNames; |
42 | 41 |
43 HTMLMetaCharsetParser::HTMLMetaCharsetParser() | 42 HTMLMetaCharsetParser::HTMLMetaCharsetParser() |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 return true; | 200 return true; |
202 } | 201 } |
203 | 202 |
204 m_token.clear(); | 203 m_token.clear(); |
205 } | 204 } |
206 | 205 |
207 return false; | 206 return false; |
208 } | 207 } |
209 | 208 |
210 } | 209 } |
OLD | NEW |