OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/at_exit.h" | 5 #include "base/at_exit.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/i18n/icu_util.h" | 7 #include "base/i18n/icu_util.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "third_party/skia/include/core/SkXfermode.h" | 10 #include "third_party/skia/include/core/SkXfermode.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 153 |
154 } // namespace | 154 } // namespace |
155 | 155 |
156 int main(int argc, char** argv) { | 156 int main(int argc, char** argv) { |
157 CommandLine::Init(argc, argv); | 157 CommandLine::Init(argc, argv); |
158 | 158 |
159 // The exit manager is in charge of calling the dtors of singleton objects. | 159 // The exit manager is in charge of calling the dtors of singleton objects. |
160 base::AtExitManager exit_manager; | 160 base::AtExitManager exit_manager; |
161 | 161 |
162 ui::RegisterPathProvider(); | 162 ui::RegisterPathProvider(); |
163 icu_util::Initialize(); | 163 base::i18n::InitializeICU(); |
164 ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL); | 164 ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL); |
165 | 165 |
166 return DemoMain(); | 166 return DemoMain(); |
167 } | 167 } |
OLD | NEW |