| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <CoreFoundation/CoreFoundation.h> | 5 #include <CoreFoundation/CoreFoundation.h> |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/mac/scoped_cftyperef.h" | 8 #include "base/mac/scoped_cftyperef.h" |
| 9 #include "base/numerics/safe_conversions.h" |
| 9 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 10 #include "base/strings/string_piece.h" | 11 #include "base/strings/string_piece.h" |
| 11 #include "base/strings/sys_string_conversions.h" | 12 #include "base/strings/sys_string_conversions.h" |
| 12 #include "net/base/net_string_util.h" | 13 #include "net/base/net_string_util.h" |
| 13 | 14 |
| 14 namespace net { | 15 namespace net { |
| 15 | 16 |
| 16 namespace { | 17 namespace { |
| 17 | 18 |
| 18 bool CharsetToCFStringEncoding(const char* charset, | 19 bool CharsetToCFStringEncoding(const char* charset, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 } | 67 } |
| 67 | 68 |
| 68 bool ConvertToUTF16WithSubstitutions(const std::string& text, | 69 bool ConvertToUTF16WithSubstitutions(const std::string& text, |
| 69 const char* charset, | 70 const char* charset, |
| 70 base::string16* output) { | 71 base::string16* output) { |
| 71 DCHECK(false) << "Not implemented yet."; | 72 DCHECK(false) << "Not implemented yet."; |
| 72 return false; | 73 return false; |
| 73 } | 74 } |
| 74 | 75 |
| 75 } // namespace net | 76 } // namespace net |
| OLD | NEW |