Index: base/string_util.h |
=================================================================== |
--- base/string_util.h (revision 69274) |
+++ base/string_util.h (working copy) |
@@ -523,14 +523,6 @@ |
const string16& a, |
size_t* offset); |
-// If the size of |input| is more than |max_len|, this function returns true and |
-// |input| is shortened into |output| by removing chars in the middle (they are |
-// replaced with up to 3 dots, as size permits). |
-// Ex: ElideString(L"Hello", 10, &str) puts Hello in str and returns false. |
-// ElideString(L"Hello my name is Tom", 10, &str) puts "Hell...Tom" in str and |
-// returns true. |
-bool ElideString(const std::wstring& input, int max_len, std::wstring* output); |
- |
// Returns true if the string passed in matches the pattern. The pattern |
// string can contain wildcards like * and ? |
// The backslash character (\) is an escape character for * and ? |