summaryrefslogtreecommitdiff
path: root/chromium/ash/shell/shell_main_parts.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ash/shell/shell_main_parts.cc')
-rw-r--r--chromium/ash/shell/shell_main_parts.cc21
1 files changed, 21 insertions, 0 deletions
diff --git a/chromium/ash/shell/shell_main_parts.cc b/chromium/ash/shell/shell_main_parts.cc
new file mode 100644
index 00000000000..8cad410084e
--- /dev/null
+++ b/chromium/ash/shell/shell_main_parts.cc
@@ -0,0 +1,21 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ash/shell/shell_main_parts.h"
+
+#include "base/i18n/icu_util.h"
+#include "ui/base/resource/resource_bundle.h"
+#include "ui/base/ui_base_paths.h"
+
+namespace ash {
+namespace shell {
+
+void PreMainMessageLoopStart() {
+ ui::RegisterPathProvider();
+ base::i18n::InitializeICU();
+ ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL);
+}
+
+} // namespace ash
+} // namespace shell