OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 | 6 |
| 7 #if defined(OS_WIN) |
| 8 #include <objbase.h> |
| 9 #include <windows.h> |
| 10 #endif |
| 11 |
7 #include "app/hi_res_timer_manager.h" | 12 #include "app/hi_res_timer_manager.h" |
8 #include "app/system_monitor.h" | 13 #include "app/system_monitor.h" |
9 #if defined(OS_WIN) | |
10 #include "app/win_util.h" | |
11 #endif | |
12 #include "base/command_line.h" | 14 #include "base/command_line.h" |
13 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
14 #include "base/string_util.h" | 16 #include "base/string_util.h" |
15 #include "chrome/common/child_process.h" | 17 #include "chrome/common/child_process.h" |
16 #include "chrome/common/chrome_constants.h" | 18 #include "chrome/common/chrome_constants.h" |
17 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
18 #include "chrome/common/default_plugin.h" | 20 #include "chrome/common/default_plugin.h" |
19 #include "chrome/common/gpu_plugin.h" | 21 #include "chrome/common/gpu_plugin.h" |
20 #include "chrome/common/logging_chrome.h" | 22 #include "chrome/common/logging_chrome.h" |
21 #include "chrome/common/main_function_params.h" | 23 #include "chrome/common/main_function_params.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 135 |
134 MessageLoop::current()->Run(); | 136 MessageLoop::current()->Run(); |
135 } | 137 } |
136 | 138 |
137 #if defined(OS_WIN) | 139 #if defined(OS_WIN) |
138 CoUninitialize(); | 140 CoUninitialize(); |
139 #endif | 141 #endif |
140 | 142 |
141 return 0; | 143 return 0; |
142 } | 144 } |
OLD | NEW |