OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "base/logging.h" |
| 6 #include "base/strings/string16.h" |
| 7 #include "base/strings/string_piece.h" |
| 8 #include "net/base/net_string_util.h" |
| 9 |
| 10 namespace net { |
| 11 |
| 12 // This constant cannot be defined as const char[] because it is initialized |
| 13 // by base::kCodepageLatin1 (which is const char[]) in net_string_util_icu.cc. |
| 14 const char* const kCharsetLatin1 = "ISO-8859-1"; |
| 15 |
| 16 bool ConvertToUtf8(const std::string& text, |
| 17 const char* charset, |
| 18 std::string* output) { |
| 19 DCHECK(false) << "Not implemented yet."; |
| 20 return false; |
| 21 } |
| 22 |
| 23 bool ConvertToUtf8AndNormalize(const std::string& text, |
| 24 const char* charset, |
| 25 std::string* output) { |
| 26 DCHECK(false) << "Not implemented yet."; |
| 27 return false; |
| 28 } |
| 29 |
| 30 bool ConvertToUTF16(const std::string& text, |
| 31 const char* charset, |
| 32 base::string16* output) { |
| 33 DCHECK(false) << "Not implemented yet."; |
| 34 return false; |
| 35 } |
| 36 |
| 37 bool ConvertToUTF16WithSubstitutions(const std::string& text, |
| 38 const char* charset, |
| 39 base::string16* output) { |
| 40 DCHECK(false) << "Not implemented yet."; |
| 41 return false; |
| 42 } |
| 43 |
| 44 } // namespace net |
OLD | NEW |