OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_delegate.h" | 5 #include "chrome/app/chrome_main_delegate.h" |
6 | 6 |
7 #include "base/base_paths.h" | 7 #include "base/base_paths.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/cpu.h" | 9 #include "base/cpu.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 #include <algorithm> | 48 #include <algorithm> |
49 #include "chrome/app/close_handle_hook_win.h" | 49 #include "chrome/app/close_handle_hook_win.h" |
50 #include "chrome/common/child_process_logging.h" | 50 #include "chrome/common/child_process_logging.h" |
51 #include "chrome/common/terminate_on_heap_corruption_experiment_win.h" | 51 #include "chrome/common/terminate_on_heap_corruption_experiment_win.h" |
52 #include "chrome/common/v8_breakpad_support_win.h" | 52 #include "chrome/common/v8_breakpad_support_win.h" |
53 #include "sandbox/win/src/sandbox.h" | 53 #include "sandbox/win/src/sandbox.h" |
54 #include "ui/base/resource/resource_bundle_win.h" | 54 #include "ui/base/resource/resource_bundle_win.h" |
55 #endif | 55 #endif |
56 | 56 |
57 #if defined(OS_MACOSX) | 57 #if defined(OS_MACOSX) |
58 #include "base/mac/mac_util.h" | 58 #include "base/mac/foundation_util.h" |
59 #include "base/mac/os_crash_dumps.h" | 59 #include "base/mac/os_crash_dumps.h" |
60 #include "chrome/app/chrome_main_mac.h" | 60 #include "chrome/app/chrome_main_mac.h" |
61 #include "chrome/browser/mac/relauncher.h" | 61 #include "chrome/browser/mac/relauncher.h" |
62 #include "chrome/common/mac/cfbundle_blocker.h" | 62 #include "chrome/common/mac/cfbundle_blocker.h" |
63 #include "chrome/common/mac/objc_zombie.h" | 63 #include "chrome/common/mac/objc_zombie.h" |
64 #include "components/crash/app/breakpad_mac.h" | 64 #include "components/crash/app/breakpad_mac.h" |
65 #include "ui/base/l10n/l10n_util_mac.h" | 65 #include "ui/base/l10n/l10n_util_mac.h" |
66 #endif | 66 #endif |
67 | 67 |
68 #if defined(OS_POSIX) | 68 #if defined(OS_POSIX) |
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
960 } | 960 } |
961 | 961 |
962 content::ContentUtilityClient* | 962 content::ContentUtilityClient* |
963 ChromeMainDelegate::CreateContentUtilityClient() { | 963 ChromeMainDelegate::CreateContentUtilityClient() { |
964 #if defined(CHROME_MULTIPLE_DLL_BROWSER) | 964 #if defined(CHROME_MULTIPLE_DLL_BROWSER) |
965 return NULL; | 965 return NULL; |
966 #else | 966 #else |
967 return g_chrome_content_utility_client.Pointer(); | 967 return g_chrome_content_utility_client.Pointer(); |
968 #endif | 968 #endif |
969 } | 969 } |
OLD | NEW |