| 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 // TODO(port): the ifdefs in here are a first step towards trying to determine | 5 // TODO(port): the ifdefs in here are a first step towards trying to determine |
| 6 // the correct abstraction for all the OS functionality required at this | 6 // the correct abstraction for all the OS functionality required at this |
| 7 // stage of process initialization. It should not be taken as a final | 7 // stage of process initialization. It should not be taken as a final |
| 8 // abstraction. | 8 // abstraction. |
| 9 | 9 |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 #include "chrome/app/breakpad_mac.h" | 84 #include "chrome/app/breakpad_mac.h" |
| 85 #include "grit/chromium_strings.h" | 85 #include "grit/chromium_strings.h" |
| 86 #include "third_party/WebKit/WebKit/mac/WebCoreSupport/WebSystemInterface.h" | 86 #include "third_party/WebKit/WebKit/mac/WebCoreSupport/WebSystemInterface.h" |
| 87 #endif | 87 #endif |
| 88 | 88 |
| 89 #if defined(OS_POSIX) | 89 #if defined(OS_POSIX) |
| 90 #include "base/global_descriptors_posix.h" | 90 #include "base/global_descriptors_posix.h" |
| 91 #endif | 91 #endif |
| 92 | 92 |
| 93 #if defined(OS_WIN) | 93 #if defined(OS_WIN) |
| 94 #include "base/win_util.h" | |
| 95 #include "sandbox/src/sandbox.h" | 94 #include "sandbox/src/sandbox.h" |
| 96 #include "tools/memory_watcher/memory_watcher.h" | 95 #include "tools/memory_watcher/memory_watcher.h" |
| 97 #endif | 96 #endif |
| 98 | 97 |
| 99 #if defined(USE_TCMALLOC) | 98 #if defined(USE_TCMALLOC) |
| 100 #include "third_party/tcmalloc/chromium/src/google/malloc_extension.h" | 99 #include "third_party/tcmalloc/chromium/src/google/malloc_extension.h" |
| 101 #endif | 100 #endif |
| 102 | 101 |
| 103 #if defined(OS_CHROMEOS) | 102 #if defined(OS_CHROMEOS) |
| 104 #include "chrome/browser/chromeos/boot_times_loader.h" | 103 #include "chrome/browser/chromeos/boot_times_loader.h" |
| (...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 916 | 915 |
| 917 logging::CleanupChromeLogging(); | 916 logging::CleanupChromeLogging(); |
| 918 | 917 |
| 919 #if defined(OS_MACOSX) && defined(GOOGLE_CHROME_BUILD) | 918 #if defined(OS_MACOSX) && defined(GOOGLE_CHROME_BUILD) |
| 920 // TODO(mark): See the TODO(mark) above at InitCrashReporter. | 919 // TODO(mark): See the TODO(mark) above at InitCrashReporter. |
| 921 DestructCrashReporter(); | 920 DestructCrashReporter(); |
| 922 #endif // OS_MACOSX && GOOGLE_CHROME_BUILD | 921 #endif // OS_MACOSX && GOOGLE_CHROME_BUILD |
| 923 | 922 |
| 924 return rv; | 923 return rv; |
| 925 } | 924 } |
| OLD | NEW |