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

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

Issue 2764283002: Move files in wtf/ to platform/wtf/ (Part 10). (Closed)
Patch Set: Rebase. Created 3 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
Index: third_party/WebKit/Source/wtf/text/TextCodecReplacement.h
diff --git a/third_party/WebKit/Source/wtf/text/TextCodecReplacement.h b/third_party/WebKit/Source/wtf/text/TextCodecReplacement.h
index a7254d51ee7fbf4658a289c08901f5d26b885891..c3528d1f8878524e4e0e34e664cbbf1b4158a156 100644
--- a/third_party/WebKit/Source/wtf/text/TextCodecReplacement.h
+++ b/third_party/WebKit/Source/wtf/text/TextCodecReplacement.h
@@ -1,32 +1,9 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef TextCodecReplacement_h
-#define TextCodecReplacement_h
+#include "platform/wtf/text/TextCodecReplacement.h"
-#include "wtf/text/TextCodec.h"
-#include "wtf/text/TextCodecUTF8.h"
-
-namespace WTF {
-
-class TextCodecReplacement final : public TextCodecUTF8 {
- public:
- TextCodecReplacement();
-
- static void registerEncodingNames(EncodingNameRegistrar);
- static void registerCodecs(TextCodecRegistrar);
-
- private:
- String decode(const char*,
- size_t length,
- FlushBehavior,
- bool stopOnError,
- bool& sawError) override;
-
- bool m_replacementErrorReturned;
-};
-
-} // namespace WTF
-
-#endif // TextCodecReplacement_h
+// The contents of this header was moved to platform/wtf as part of
+// WTF migration project. See the following post for details:
+// https://groups.google.com/a/chromium.org/d/msg/blink-dev/tLdAZCTlcAA/bYXVT8gYCAAJ
« no previous file with comments | « third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp ('k') | third_party/WebKit/Source/wtf/text/TextCodecReplacement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698