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

Unified Diff: third_party/WebKit/Source/wtf/text/TextCodecLatin1.h

Issue 1611343002: wtf reformat test Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pydent Created 4 years, 11 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
Index: third_party/WebKit/Source/wtf/text/TextCodecLatin1.h
diff --git a/third_party/WebKit/Source/wtf/text/TextCodecLatin1.h b/third_party/WebKit/Source/wtf/text/TextCodecLatin1.h
index 92dd372c0de6db927b43ddce5f13e9ef1ad0ecb6..c4c2170cfddfae6bd4d9e6fa9951e26759c4283c 100644
--- a/third_party/WebKit/Source/wtf/text/TextCodecLatin1.h
+++ b/third_party/WebKit/Source/wtf/text/TextCodecLatin1.h
@@ -31,19 +31,23 @@
namespace WTF {
class TextCodecLatin1 final : public TextCodec {
-public:
- static void registerEncodingNames(EncodingNameRegistrar);
- static void registerCodecs(TextCodecRegistrar);
-
-private:
- String decode(const char*, size_t length, FlushBehavior, bool stopOnError, bool& sawError) override;
- CString encode(const UChar*, size_t length, UnencodableHandling) override;
- CString encode(const LChar*, size_t length, UnencodableHandling) override;
-
- template<typename CharType>
- CString encodeCommon(const CharType*, size_t length, UnencodableHandling);
+ public:
+ static void registerEncodingNames(EncodingNameRegistrar);
+ static void registerCodecs(TextCodecRegistrar);
+
+ private:
+ String decode(const char*,
+ size_t length,
+ FlushBehavior,
+ bool stopOnError,
+ bool& sawError) override;
+ CString encode(const UChar*, size_t length, UnencodableHandling) override;
+ CString encode(const LChar*, size_t length, UnencodableHandling) override;
+
+ template <typename CharType>
+ CString encodeCommon(const CharType*, size_t length, UnencodableHandling);
};
-} // namespace WTF
+} // namespace WTF
-#endif // TextCodecLatin1_h
+#endif // TextCodecLatin1_h
« no previous file with comments | « third_party/WebKit/Source/wtf/text/TextCodecICU.cpp ('k') | third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698