| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/app/chrome_main.h" | 5 #include "chrome/app/chrome_main.h" |
| 6 | 6 |
| 7 #include "app/app_paths.h" | 7 #include "app/app_paths.h" |
| 8 #include "base/at_exit.h" | 8 #include "base/at_exit.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/debug/debugger.h" | 10 #include "base/debug/debugger.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 #include "base/win/registry.h" | 56 #include "base/win/registry.h" |
| 57 #include "sandbox/src/sandbox.h" | 57 #include "sandbox/src/sandbox.h" |
| 58 #include "tools/memory_watcher/memory_watcher.h" | 58 #include "tools/memory_watcher/memory_watcher.h" |
| 59 #endif | 59 #endif |
| 60 | 60 |
| 61 #if defined(OS_MACOSX) | 61 #if defined(OS_MACOSX) |
| 62 #include "base/mac/mac_util.h" | 62 #include "base/mac/mac_util.h" |
| 63 #include "base/mac/os_crash_dumps.h" | 63 #include "base/mac/os_crash_dumps.h" |
| 64 #include "base/mach_ipc_mac.h" | 64 #include "base/mach_ipc_mac.h" |
| 65 #include "chrome/app/breakpad_mac.h" | 65 #include "chrome/app/breakpad_mac.h" |
| 66 #include "chrome/browser/mach_broker_mac.h" | |
| 67 #include "chrome/common/chrome_paths_internal.h" | 66 #include "chrome/common/chrome_paths_internal.h" |
| 67 #include "content/browser/mach_broker_mac.h" |
| 68 #include "grit/chromium_strings.h" | 68 #include "grit/chromium_strings.h" |
| 69 #include "third_party/WebKit/Source/WebKit/mac/WebCoreSupport/WebSystemInterface
.h" | 69 #include "third_party/WebKit/Source/WebKit/mac/WebCoreSupport/WebSystemInterface
.h" |
| 70 #include "ui/base/l10n/l10n_util_mac.h" | 70 #include "ui/base/l10n/l10n_util_mac.h" |
| 71 #endif | 71 #endif |
| 72 | 72 |
| 73 #if defined(OS_POSIX) | 73 #if defined(OS_POSIX) |
| 74 #include <locale.h> | 74 #include <locale.h> |
| 75 #include <signal.h> | 75 #include <signal.h> |
| 76 #endif | 76 #endif |
| 77 | 77 |
| (...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 | 839 |
| 840 if (SubprocessNeedsResourceBundle(process_type)) | 840 if (SubprocessNeedsResourceBundle(process_type)) |
| 841 ResourceBundle::CleanupSharedInstance(); | 841 ResourceBundle::CleanupSharedInstance(); |
| 842 | 842 |
| 843 logging::CleanupChromeLogging(); | 843 logging::CleanupChromeLogging(); |
| 844 | 844 |
| 845 chrome_main::LowLevelShutdown(); | 845 chrome_main::LowLevelShutdown(); |
| 846 | 846 |
| 847 return exit_code; | 847 return exit_code; |
| 848 } | 848 } |
| OLD | NEW |