summaryrefslogtreecommitdiffstats
path: root/webkit/glue/glue_util.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-05 00:07:51 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-05 00:07:51 +0000
commit68bf60380800cbd4210f32433ec0310aa8646da2 (patch)
tree8e1854974d25404dea3ab2e72baef9f43bc6a60d /webkit/glue/glue_util.h
parentfc296c02aa9de1d144779944f4d0081e273329f2 (diff)
downloadchromium_src-68bf60380800cbd4210f32433ec0310aa8646da2.zip
chromium_src-68bf60380800cbd4210f32433ec0310aa8646da2.tar.gz
chromium_src-68bf60380800cbd4210f32433ec0310aa8646da2.tar.bz2
Convert webkit_glue::GetLocalizedString to return a string16
instead of a wstring. Convert the linux data pack files to pack message strings as utf16 instead of utf8. Review URL: http://codereview.chromium.org/20060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9193 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/glue_util.h')
-rw-r--r--webkit/glue/glue_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/glue_util.h b/webkit/glue/glue_util.h
index ace448b..b9ebf41 100644
--- a/webkit/glue/glue_util.h
+++ b/webkit/glue/glue_util.h
@@ -36,6 +36,7 @@ WebCore::String StdWStringToString(const std::wstring& str);
// WebCore::String -> string16. This is a direct copy of UTF-16 characters.
string16 StringToString16(const WebCore::String& str);
+WebCore::String String16ToString(const string16& str);
// WebCore::String <-> std::string. We assume the WebCore::String is UTF-16 and
// the std::string is UTF-8, and convert as necessary.