Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1778)

Unified Diff: Source/wtf/text/TextEncoding.h

Issue 999953003: Remove dedicated TextCodecUTF16 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/text/TextCodecUTF16.cpp ('k') | Source/wtf/text/TextEncodingRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/text/TextEncoding.h
diff --git a/Source/wtf/text/TextEncoding.h b/Source/wtf/text/TextEncoding.h
index 058b3edfbb83af10315be442249d9aaaaa8d3bb1..b12fa20771322cd089267ff635d491d57d3e8288 100644
--- a/Source/wtf/text/TextEncoding.h
+++ b/Source/wtf/text/TextEncoding.h
@@ -42,6 +42,7 @@ public:
bool isValid() const { return m_name; }
const char* name() const { return m_name; }
bool usesVisualOrdering() const;
+ bool isNonByteBasedEncoding() const;
const TextEncoding& closestByteBasedEquivalent() const;
const TextEncoding& encodingForFormSubmission() const;
@@ -59,7 +60,6 @@ public:
CString normalizeAndEncode(const String&, UnencodableHandling) const;
private:
- bool isNonByteBasedEncoding() const;
bool isUTF7Encoding() const;
const char* m_name;
« no previous file with comments | « Source/wtf/text/TextCodecUTF16.cpp ('k') | Source/wtf/text/TextEncodingRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698