Index: third_party/WebKit/Source/wtf/text/TextCodec.h |
diff --git a/third_party/WebKit/Source/wtf/text/TextCodec.h b/third_party/WebKit/Source/wtf/text/TextCodec.h |
index 27e312858bd7bfe9743e3c32e96927c96b1946b3..f8a67ed60af2a85354ba062d2f9b7c0695ebcad9 100644 |
--- a/third_party/WebKit/Source/wtf/text/TextCodec.h |
+++ b/third_party/WebKit/Source/wtf/text/TextCodec.h |
@@ -86,6 +86,7 @@ public: |
virtual String decode(const char*, size_t length, FlushBehavior, bool stopOnError, bool& sawError) = 0; |
virtual CString encode(const UChar*, size_t length, UnencodableHandling) = 0; |
virtual CString encode(const LChar*, size_t length, UnencodableHandling) = 0; |
+ virtual bool shouldIncludeBOM(); |
// Fills a null-terminated string representation of the given |
// unencodable character into the given replacement buffer. |