diff options
author | dcaiafa@google.com <dcaiafa@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-09 21:32:01 +0000 |
---|---|---|
committer | dcaiafa@google.com <dcaiafa@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-09 21:32:01 +0000 |
commit | 42f436f6d8e0abc1788f6d2ab0dfcb5ad09d84b1 (patch) | |
tree | 17689120dd4b3ca493156497cfb998476a426d65 /remoting/host/setup | |
parent | a33c75b331607d78dc09b2a89be88076c18e269f (diff) | |
download | chromium_src-42f436f6d8e0abc1788f6d2ab0dfcb5ad09d84b1.zip chromium_src-42f436f6d8e0abc1788f6d2ab0dfcb5ad09d84b1.tar.gz chromium_src-42f436f6d8e0abc1788f6d2ab0dfcb5ad09d84b1.tar.bz2 |
Initialize ICU on remoting_native_messaging_host
BUG=371432
R=rmsousa@chromium.org
Review URL: https://codereview.chromium.org/274933002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269413 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/setup')
-rw-r--r-- | remoting/host/setup/me2me_native_messaging_host_main.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/host/setup/me2me_native_messaging_host_main.cc b/remoting/host/setup/me2me_native_messaging_host_main.cc index 8cf6566..d164bec 100644 --- a/remoting/host/setup/me2me_native_messaging_host_main.cc +++ b/remoting/host/setup/me2me_native_messaging_host_main.cc @@ -6,6 +6,7 @@ #include "base/at_exit.h" #include "base/command_line.h" +#include "base/i18n/icu_util.h" #include "base/message_loop/message_loop.h" #include "base/run_loop.h" #include "base/strings/string_number_conversions.h" @@ -65,6 +66,9 @@ int StartMe2MeNativeMessagingHost() { base::mac::ScopedNSAutoreleasePool pool; #endif // defined(OS_MACOSX) + // Required to find the ICU data file, used by some file_util routines. + base::i18n::InitializeICU(); + #if defined(REMOTING_ENABLE_BREAKPAD) // Initialize Breakpad as early as possible. On Mac the command-line needs to // be initialized first, so that the preference for crash-reporting can be |