summaryrefslogtreecommitdiffstats
path: root/app/resource_bundle.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 17:07:46 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 17:07:46 +0000
commitff622aa41f2eb00c4f0359a1d661f77ea17d29e1 (patch)
tree0eb7fca9bdb735299cdb3224814c8313bb99301e /app/resource_bundle.h
parent568f33de361dbca27e55bd2c1c025663c7a73d3c (diff)
downloadchromium_src-ff622aa41f2eb00c4f0359a1d661f77ea17d29e1.zip
chromium_src-ff622aa41f2eb00c4f0359a1d661f77ea17d29e1.tar.gz
chromium_src-ff622aa41f2eb00c4f0359a1d661f77ea17d29e1.tar.bz2
Remove wstrings from l10n_util/ResourceBundle locale functions.
Review URL: http://codereview.chromium.org/3069026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/resource_bundle.h')
-rw-r--r--app/resource_bundle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/resource_bundle.h b/app/resource_bundle.h
index c6bc5c3..49ca359 100644
--- a/app/resource_bundle.h
+++ b/app/resource_bundle.h
@@ -68,7 +68,7 @@ class ResourceBundle {
// selected.
// NOTE: Mac ignores this and always loads up resources for the language
// defined by the Cocoa UI (ie-NSBundle does the langange work).
- static std::string InitSharedInstance(const std::wstring& pref_locale);
+ static std::string InitSharedInstance(const std::string& pref_locale);
// Changes the locale for an already-initialized ResourceBundle. Future
// calls to get strings will return the strings for this new locale. This
@@ -76,7 +76,7 @@ class ResourceBundle {
// on existing or future image resources, and thus does not use the lock to
// guarantee thread-safety, since all string access is expected to happen on
// the UI thread.
- static std::string ReloadSharedInstance(const std::wstring& pref_locale);
+ static std::string ReloadSharedInstance(const std::string& pref_locale);
// Registers additional data pack files with the global ResourceBundle. When
// looking for a DataResource, we will search these files after searching the
@@ -200,7 +200,7 @@ class ResourceBundle {
// Try to load the locale specific strings from an external data module.
// Returns the locale that is loaded.
- std::string LoadLocaleResources(const std::wstring& pref_locale);
+ std::string LoadLocaleResources(const std::string& pref_locale);
// Unload the locale specific strings and prepares to load new ones. See
// comments for ReloadSharedInstance().