| Index: Source/core/fetch/TextResourceDecoder.h
|
| diff --git a/Source/core/html/parser/TextResourceDecoder.h b/Source/core/fetch/TextResourceDecoder.h
|
| similarity index 96%
|
| rename from Source/core/html/parser/TextResourceDecoder.h
|
| rename to Source/core/fetch/TextResourceDecoder.h
|
| index 5ad2ad561f8e11b9e7bb4e5e42807a5af2bedfdf..4c7734781487fe8e1f3cdd0cc5ec5cc53a8b076d 100644
|
| --- a/Source/core/html/parser/TextResourceDecoder.h
|
| +++ b/Source/core/fetch/TextResourceDecoder.h
|
| @@ -28,7 +28,6 @@
|
|
|
| namespace WebCore {
|
|
|
| -class DocumentEncodingData;
|
| class HTMLMetaCharsetParser;
|
|
|
| class TextResourceDecoder {
|
| @@ -73,7 +72,7 @@ public:
|
| private:
|
| TextResourceDecoder(const String& mimeType, const WTF::TextEncoding& defaultEncoding, bool usesEncodingDetector);
|
|
|
| - enum ContentType { PlainTextContent, HTMLContent, XMLContent, CSSContent }; // PlainText only checks for BOM.
|
| + enum ContentType { PlainText, HTML, XML, CSS }; // PlainText only checks for BOM.
|
| static ContentType determineContentType(const String& mimeType);
|
| static const WTF::TextEncoding& defaultEncoding(ContentType, const WTF::TextEncoding& defaultEncoding);
|
|
|
|
|