Add ICU message format support
[chromium-blink-merge.git] / ash / shell / shell_main_parts.cc
blob0de3d310d8e9a15d2054d41534a6ac66ab34f19d
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ash/shell/shell_main_parts.h"
7 #include "base/i18n/icu_util.h"
8 #include "ui/base/resource/resource_bundle.h"
9 #include "ui/base/ui_base_paths.h"
11 namespace ash {
12 namespace shell {
14 void PreMainMessageLoopStart() {
15 ui::RegisterPathProvider();
16 base::i18n::InitializeICU();
17 ui::ResourceBundle::InitSharedInstanceWithLocale(
18 "en-US", NULL, ui::ResourceBundle::LOAD_COMMON_RESOURCES);
21 } // namespace ash
22 } // namespace shell