| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #if defined(OS_WIN) | 49 #if defined(OS_WIN) |
| 50 #include "base/win_util.h" | 50 #include "base/win_util.h" |
| 51 #endif | 51 #endif |
| 52 #if defined(OS_MACOSX) | 52 #if defined(OS_MACOSX) |
| 53 #include "base/mac_util.h" | 53 #include "base/mac_util.h" |
| 54 #include "chrome/common/chrome_paths_internal.h" | 54 #include "chrome/common/chrome_paths_internal.h" |
| 55 #include "chrome/app/breakpad_mac.h" | 55 #include "chrome/app/breakpad_mac.h" |
| 56 #endif | 56 #endif |
| 57 #if defined(OS_LINUX) | 57 #if defined(OS_LINUX) |
| 58 #include "base/nss_init.h" | 58 #include "base/nss_init.h" |
| 59 #endif |
| 60 #if defined(USE_LINUX_BREAKPAD) |
| 59 #include "chrome/app/breakpad_linux.h" | 61 #include "chrome/app/breakpad_linux.h" |
| 60 #endif | 62 #endif |
| 61 #include "chrome/app/scoped_ole_initializer.h" | 63 #include "chrome/app/scoped_ole_initializer.h" |
| 62 #include "chrome/browser/renderer_host/render_process_host.h" | 64 #include "chrome/browser/renderer_host/render_process_host.h" |
| 63 #include "chrome/common/chrome_constants.h" | 65 #include "chrome/common/chrome_constants.h" |
| 64 #include "chrome/common/chrome_counters.h" | 66 #include "chrome/common/chrome_counters.h" |
| 65 #include "chrome/common/chrome_descriptors.h" | 67 #include "chrome/common/chrome_descriptors.h" |
| 66 #include "chrome/common/chrome_paths.h" | 68 #include "chrome/common/chrome_paths.h" |
| 67 #include "chrome/common/chrome_switches.h" | 69 #include "chrome/common/chrome_switches.h" |
| 68 #include "chrome/common/logging_chrome.h" | 70 #include "chrome/common/logging_chrome.h" |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 | 634 |
| 633 logging::CleanupChromeLogging(); | 635 logging::CleanupChromeLogging(); |
| 634 | 636 |
| 635 #if defined(OS_MACOSX) && defined(GOOGLE_CHROME_BUILD) | 637 #if defined(OS_MACOSX) && defined(GOOGLE_CHROME_BUILD) |
| 636 // TODO(mark): See the TODO(mark) above at InitCrashReporter. | 638 // TODO(mark): See the TODO(mark) above at InitCrashReporter. |
| 637 DestructCrashReporter(); | 639 DestructCrashReporter(); |
| 638 #endif // OS_MACOSX && GOOGLE_CHROME_BUILD | 640 #endif // OS_MACOSX && GOOGLE_CHROME_BUILD |
| 639 | 641 |
| 640 return rv; | 642 return rv; |
| 641 } | 643 } |
| OLD | NEW |