diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-06 12:13:47 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-06 12:13:47 +0000 |
commit | f1b6de229e00a4d6c953e75cb96320440a0e9eb9 (patch) | |
tree | 910cd7fae28248876b0eb5fec46a71a1cf0be3d5 /chrome/browser/browser_process_impl.cc | |
parent | e240297039ebec1ffaeec45f65e01e8cdb8e1beb (diff) | |
download | chromium_src-f1b6de229e00a4d6c953e75cb96320440a0e9eb9.zip chromium_src-f1b6de229e00a4d6c953e75cb96320440a0e9eb9.tar.gz chromium_src-f1b6de229e00a4d6c953e75cb96320440a0e9eb9.tar.bz2 |
Next part of removing the dependency of chrome/common on chrome/browser
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/669184
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process_impl.cc')
-rw-r--r-- | chrome/browser/browser_process_impl.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc index 1fbefa1..f3cb9700 100644 --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc @@ -41,6 +41,7 @@ #include "chrome/common/chrome_constants.h" #include "chrome/common/chrome_paths.h" #include "chrome/common/chrome_switches.h" +#include "chrome/common/extensions/extension_l10n_util.h" #include "chrome/common/notification_service.h" #include "chrome/common/pref_names.h" #include "chrome/common/url_constants.h" @@ -425,6 +426,11 @@ void BrowserProcessImpl::CreateNotificationUIManager() { created_notification_ui_manager_ = true; } +void BrowserProcessImpl::SetApplicationLocale(const std::string& locale) { + locale_ = locale; + extension_l10n_util::SetProcessLocale(locale); +} + // The BrowserProcess object must outlive the file thread so we use traits // which don't do any management. template <> |