REVIEW: access GetApplicationLocale on sequence that allows IO
This commit is contained in:
parent
1912fbb073
commit
a1592446da
13 changed files with 70 additions and 19 deletions
|
@ -20,8 +20,12 @@ BrowserProcess::~BrowserProcess() {
|
|||
g_browser_process = NULL;
|
||||
}
|
||||
|
||||
void BrowserProcess::SetApplicationLocale(const std::string& locale) {
|
||||
locale_ = locale;
|
||||
}
|
||||
|
||||
std::string BrowserProcess::GetApplicationLocale() {
|
||||
return l10n_util::GetApplicationLocale("");
|
||||
return locale_;
|
||||
}
|
||||
|
||||
IconManager* BrowserProcess::GetIconManager() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue