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

Side by Side Diff: chrome/app/chrome_exe_main_win.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_crash_reporter_client_win.cc ('k') | chrome/app/chrome_main_delegate.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) 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 <windows.h> 5 #include <windows.h>
6 #include <malloc.h> 6 #include <malloc.h>
7 #include <shellscalingapi.h> 7 #include <shellscalingapi.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <tchar.h> 9 #include <tchar.h>
10 10
11 #include <algorithm> 11 #include <algorithm>
12 #include <string> 12 #include <string>
13 13
14 #include "base/at_exit.h" 14 #include "base/at_exit.h"
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
17 #include "base/lazy_instance.h" 17 #include "base/lazy_instance.h"
18 #include "base/logging.h" 18 #include "base/logging.h"
19 #include "base/path_service.h" 19 #include "base/path_service.h"
20 #include "base/strings/string16.h" 20 #include "base/strings/string16.h"
21 #include "base/strings/string_split.h" 21 #include "base/strings/string_split.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/win/registry.h" 24 #include "base/win/registry.h"
25 #include "base/win/windows_version.h" 25 #include "base/win/windows_version.h"
26 #include "chrome/app/chrome_crash_reporter_client.h" 26 #include "chrome/app/chrome_crash_reporter_client_win.h"
27 #include "chrome/app/main_dll_loader_win.h" 27 #include "chrome/app/main_dll_loader_win.h"
28 #include "chrome/browser/chrome_process_finder_win.h" 28 #include "chrome/browser/chrome_process_finder_win.h"
29 #include "chrome/browser/policy/policy_path_parser.h" 29 #include "chrome/browser/policy/policy_path_parser.h"
30 #include "chrome/common/chrome_paths_internal.h" 30 #include "chrome/common/chrome_paths_internal.h"
31 #include "chrome/common/chrome_switches.h" 31 #include "chrome/common/chrome_switches.h"
32 #include "chrome/installer/util/browser_distribution.h" 32 #include "chrome/installer/util/browser_distribution.h"
33 #include "chrome_elf/chrome_elf_main.h" 33 #include "chrome_elf/chrome_elf_main.h"
34 #include "components/crash/content/app/crash_reporter_client.h" 34 #include "components/crash/content/app/crash_reporter_client.h"
35 #include "components/crash/content/app/crash_switches.h" 35 #include "components/crash/content/app/crash_switches.h"
36 #include "components/crash/content/app/crashpad.h" 36 #include "components/crash/content/app/crashpad.h"
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 RemoveAppCompatFlagsEntry(); 262 RemoveAppCompatFlagsEntry();
263 263
264 // Load and launch the chrome dll. *Everything* happens inside. 264 // Load and launch the chrome dll. *Everything* happens inside.
265 VLOG(1) << "About to load main DLL."; 265 VLOG(1) << "About to load main DLL.";
266 MainDllLoader* loader = MakeMainDllLoader(); 266 MainDllLoader* loader = MakeMainDllLoader();
267 int rc = loader->Launch(instance); 267 int rc = loader->Launch(instance);
268 loader->RelaunchChromeBrowserWithNewCommandLineIfNeeded(); 268 loader->RelaunchChromeBrowserWithNewCommandLineIfNeeded();
269 delete loader; 269 delete loader;
270 return rc; 270 return rc;
271 } 271 }
OLDNEW
« no previous file with comments | « chrome/app/chrome_crash_reporter_client_win.cc ('k') | chrome/app/chrome_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698