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

Unified Diff: app/l10n_util.h

Issue 5742006: wstrings: make l10n_util::TruncateString use string16 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | app/l10n_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/l10n_util.h
diff --git a/app/l10n_util.h b/app/l10n_util.h
index 54328e781b50c42a9aa2bf1d4a5a9d40858903ad..a1519b58e717c7024bc066c70996d3a01c396e1b 100644
--- a/app/l10n_util.h
+++ b/app/l10n_util.h
@@ -163,7 +163,7 @@ std::wstring GetStringF(int message_id, int64 a);
// character (unicode character 0x2026) to render ...
// The supplied string is returned if the string has length characters or
// less.
-std::wstring TruncateString(const std::wstring& string, size_t length);
+string16 TruncateString(const string16& string, size_t length);
// Returns the lower case equivalent of string.
string16 ToLower(const string16& string);
« no previous file with comments | « no previous file | app/l10n_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698