Index: net/base/net_string_util_icu_alternatives_ios.mm |
diff --git a/net/base/net_string_util_icu_alternatives_ios.mm b/net/base/net_string_util_icu_alternatives_ios.mm |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7ea42808359318738151429e1be3f707798bccaa |
--- /dev/null |
+++ b/net/base/net_string_util_icu_alternatives_ios.mm |
@@ -0,0 +1,44 @@ |
+// Copyright 2016 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. |
+ |
+#include "base/logging.h" |
+#include "base/strings/string16.h" |
+#include "base/strings/string_piece.h" |
+#include "net/base/net_string_util.h" |
+ |
+namespace net { |
+ |
+// This constant cannot be defined as const char[] because it is initialized |
+// by base::kCodepageLatin1 (which is const char[]) in net_string_util_icu.cc. |
+const char* const kCharsetLatin1 = "ISO-8859-1"; |
+ |
+bool ConvertToUtf8(const std::string& text, |
+ const char* charset, |
+ std::string* output) { |
+ DCHECK(false) << "Not implemented yet."; |
+ return false; |
+} |
+ |
+bool ConvertToUtf8AndNormalize(const std::string& text, |
+ const char* charset, |
+ std::string* output) { |
+ DCHECK(false) << "Not implemented yet."; |
+ return false; |
+} |
+ |
+bool ConvertToUTF16(const std::string& text, |
+ const char* charset, |
+ base::string16* output) { |
+ DCHECK(false) << "Not implemented yet."; |
+ return false; |
+} |
+ |
+bool ConvertToUTF16WithSubstitutions(const std::string& text, |
+ const char* charset, |
+ base::string16* output) { |
+ DCHECK(false) << "Not implemented yet."; |
+ return false; |
+} |
+ |
+} // namespace net |