Index: base/strings/string_util.h |
diff --git a/base/strings/string_util.h b/base/strings/string_util.h |
index c6fe14a65b2c60a26c08837723aa08ed64bb3011..473deaebe87d5bca7556418531856ada2c629c61 100644 |
--- a/base/strings/string_util.h |
+++ b/base/strings/string_util.h |
@@ -19,8 +19,6 @@ |
#include "base/strings/string16.h" |
#include "base/strings/string_piece.h" // For implicit conversions. |
-// Safe standard library wrappers for all platforms. |
- |
namespace base { |
// C standard-library functions like "strncasecmp" and "snprintf" that aren't |
@@ -246,11 +244,6 @@ BASE_EXPORT bool ContainsOnlyChars(const StringPiece16& input, |
#error Define string operations appropriately for your platform |
#endif |
-// Converts to 7-bit ASCII by truncating. The result must be known to be ASCII |
-// beforehand. |
-BASE_EXPORT std::string WideToASCII(const std::wstring& wide); |
-BASE_EXPORT std::string UTF16ToASCII(const base::string16& utf16); |
- |
// Returns true if the specified string matches the criteria. How can a wide |
// string be 8-bit or UTF8? It contains only characters that are < 256 (in the |
// first case) or characters that use only 8-bits and whose 8-bit |