OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #if defined(OS_MACOSX) | 5 #if defined(OS_MACOSX) |
6 #include <signal.h> | 6 #include <signal.h> |
7 #include <unistd.h> | 7 #include <unistd.h> |
8 #endif // OS_MACOSX | 8 #endif // OS_MACOSX |
9 | 9 |
10 #include "app/hi_res_timer_manager.h" | 10 #include "app/hi_res_timer_manager.h" |
11 #include "app/l10n_util.h" | 11 #include "app/l10n_util.h" |
12 #include "app/resource_bundle.h" | 12 #include "app/resource_bundle.h" |
13 #include "app/system_monitor.h" | 13 #include "app/system_monitor.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/field_trial.h" | 15 #include "base/field_trial.h" |
16 #include "base/histogram.h" | 16 #include "base/histogram.h" |
17 #include "base/message_loop.h" | 17 #include "base/message_loop.h" |
18 #include "base/path_service.h" | 18 #include "base/path_service.h" |
19 #include "base/platform_thread.h" | 19 #include "base/platform_thread.h" |
20 #include "base/process_util.h" | 20 #include "base/process_util.h" |
21 #include "base/scoped_nsautorelease_pool.h" | 21 #include "base/scoped_nsautorelease_pool.h" |
22 #include "base/stats_counters.h" | 22 #include "base/stats_counters.h" |
23 #include "base/string_util.h" | 23 #include "base/string_util.h" |
24 #include "chrome/common/chrome_constants.h" | 24 #include "chrome/common/chrome_constants.h" |
25 #include "chrome/common/chrome_counters.h" | 25 #include "chrome/common/chrome_counters.h" |
26 #include "chrome/common/chrome_switches.h" | 26 #include "chrome/common/chrome_switches.h" |
27 #include "chrome/common/logging_chrome.h" | 27 #include "chrome/common/logging_chrome.h" |
28 #include "chrome/common/main_function_params.h" | 28 #include "chrome/common/main_function_params.h" |
29 #include "chrome/common/net/net_resource_provider.h" | 29 #include "chrome/common/net/net_resource_provider.h" |
30 #include "chrome/renderer/pepper_plugin_registry.h" | 30 #include "chrome/common/pepper_plugin_registry.h" |
31 #include "chrome/renderer/renderer_main_platform_delegate.h" | 31 #include "chrome/renderer/renderer_main_platform_delegate.h" |
32 #include "chrome/renderer/render_process_impl.h" | 32 #include "chrome/renderer/render_process_impl.h" |
33 #include "chrome/renderer/render_thread.h" | 33 #include "chrome/renderer/render_thread.h" |
34 #include "grit/generated_resources.h" | 34 #include "grit/generated_resources.h" |
35 #include "net/base/net_module.h" | 35 #include "net/base/net_module.h" |
36 | 36 |
37 #if defined(OS_MACOSX) | 37 #if defined(OS_MACOSX) |
38 #include "base/eintr_wrapper.h" | 38 #include "base/eintr_wrapper.h" |
39 #include "chrome/app/breakpad_mac.h" | 39 #include "chrome/app/breakpad_mac.h" |
40 #endif // OS_MACOSX | 40 #endif // OS_MACOSX |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 | 289 |
290 if (run_loop) { | 290 if (run_loop) { |
291 if (pool) | 291 if (pool) |
292 pool->Recycle(); | 292 pool->Recycle(); |
293 MessageLoop::current()->Run(); | 293 MessageLoop::current()->Run(); |
294 } | 294 } |
295 } | 295 } |
296 platform.PlatformUninitialize(); | 296 platform.PlatformUninitialize(); |
297 return 0; | 297 return 0; |
298 } | 298 } |
OLD | NEW |