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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 126223: Replace std:;wstring with std::string in locale-name related APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months 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 | « chrome/browser/browser_process_impl.h ('k') | chrome/browser/character_encoding.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
===================================================================
--- chrome/browser/browser_process_impl.cc (revision 19124)
+++ chrome/browser/browser_process_impl.cc (working copy)
@@ -262,11 +262,11 @@
return print_job_manager_.get();
}
-const std::wstring& BrowserProcessImpl::GetApplicationLocale() {
+const std::string& BrowserProcessImpl::GetApplicationLocale() {
DCHECK(CalledOnValidThread());
if (locale_.empty()) {
- locale_ = l10n_util::GetApplicationLocale(local_state()->GetString(
- prefs::kApplicationLocale));
+ locale_ = l10n_util::GetApplicationLocale(
+ local_state()->GetString(prefs::kApplicationLocale));
}
return locale_;
}
« no previous file with comments | « chrome/browser/browser_process_impl.h ('k') | chrome/browser/character_encoding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698