Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Side by Side Diff: chrome/app/chrome_main_delegate.cc

Issue 1904613002: Preparation patch for moving the chrome crashpad integration into chrome_elf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build error on Windows builder Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/app/chrome_exe_main_win.cc ('k') | chrome/app/main_dll_loader_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/cpu.h" 11 #include "base/cpu.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/i18n/rtl.h" 13 #include "base/i18n/rtl.h"
14 #include "base/lazy_instance.h" 14 #include "base/lazy_instance.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
17 #include "base/metrics/statistics_recorder.h" 17 #include "base/metrics/statistics_recorder.h"
18 #include "base/path_service.h" 18 #include "base/path_service.h"
19 #include "base/process/memory.h" 19 #include "base/process/memory.h"
20 #include "base/process/process_handle.h" 20 #include "base/process/process_handle.h"
21 #include "base/process/process_info.h" 21 #include "base/process/process_info.h"
22 #include "base/strings/string_util.h" 22 #include "base/strings/string_util.h"
23 #include "base/time/time.h" 23 #include "base/time/time.h"
24 #include "base/trace_event/trace_event_impl.h" 24 #include "base/trace_event/trace_event_impl.h"
25 #include "build/build_config.h" 25 #include "build/build_config.h"
26 #include "chrome/app/chrome_crash_reporter_client.h"
27 #include "chrome/browser/chrome_content_browser_client.h" 26 #include "chrome/browser/chrome_content_browser_client.h"
28 #include "chrome/browser/defaults.h" 27 #include "chrome/browser/defaults.h"
29 #include "chrome/common/channel_info.h" 28 #include "chrome/common/channel_info.h"
30 #include "chrome/common/chrome_constants.h" 29 #include "chrome/common/chrome_constants.h"
31 #include "chrome/common/chrome_content_client.h" 30 #include "chrome/common/chrome_content_client.h"
32 #include "chrome/common/chrome_paths.h" 31 #include "chrome/common/chrome_paths.h"
33 #include "chrome/common/chrome_paths_internal.h" 32 #include "chrome/common/chrome_paths_internal.h"
34 #include "chrome/common/chrome_result_codes.h" 33 #include "chrome/common/chrome_result_codes.h"
35 #include "chrome/common/chrome_switches.h" 34 #include "chrome/common/chrome_switches.h"
36 #include "chrome/common/crash_keys.h" 35 #include "chrome/common/crash_keys.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 #include "chrome/browser/mac/relauncher.h" 72 #include "chrome/browser/mac/relauncher.h"
74 #include "chrome/common/mac/cfbundle_blocker.h" 73 #include "chrome/common/mac/cfbundle_blocker.h"
75 #include "components/crash/content/app/crashpad.h" 74 #include "components/crash/content/app/crashpad.h"
76 #include "components/crash/core/common/objc_zombie.h" 75 #include "components/crash/core/common/objc_zombie.h"
77 #include "ui/base/l10n/l10n_util_mac.h" 76 #include "ui/base/l10n/l10n_util_mac.h"
78 #endif 77 #endif
79 78
80 #if defined(OS_POSIX) 79 #if defined(OS_POSIX)
81 #include <locale.h> 80 #include <locale.h>
82 #include <signal.h> 81 #include <signal.h>
82 #include "chrome/app/chrome_crash_reporter_client.h"
83 #endif 83 #endif
84 84
85 #if !defined(DISABLE_NACL) && defined(OS_LINUX) 85 #if !defined(DISABLE_NACL) && defined(OS_LINUX)
86 #include "components/nacl/common/nacl_paths.h" 86 #include "components/nacl/common/nacl_paths.h"
87 #include "components/nacl/zygote/nacl_fork_delegate_linux.h" 87 #include "components/nacl/zygote/nacl_fork_delegate_linux.h"
88 #endif 88 #endif
89 89
90 #if defined(OS_CHROMEOS) 90 #if defined(OS_CHROMEOS)
91 #include "base/sys_info.h" 91 #include "base/sys_info.h"
92 #include "chrome/browser/chromeos/boot_times_recorder.h" 92 #include "chrome/browser/chromeos/boot_times_recorder.h"
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 case version_info::Channel::CANARY: 1012 case version_info::Channel::CANARY:
1013 return true; 1013 return true;
1014 case version_info::Channel::DEV: 1014 case version_info::Channel::DEV:
1015 case version_info::Channel::BETA: 1015 case version_info::Channel::BETA:
1016 case version_info::Channel::STABLE: 1016 case version_info::Channel::STABLE:
1017 default: 1017 default:
1018 // Don't enable instrumentation. 1018 // Don't enable instrumentation.
1019 return false; 1019 return false;
1020 } 1020 }
1021 } 1021 }
OLDNEW
« no previous file with comments | « chrome/app/chrome_exe_main_win.cc ('k') | chrome/app/main_dll_loader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698