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

Side by Side Diff: net/base/net_string_util_icu_alternatives_ios.mm

Issue 1839803002: Remove net & url small, iOS ICU alternatives, unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « net/android/net_jni_registrar.cc ('k') | net/net.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « net/android/net_jni_registrar.cc ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698