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

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

Issue 1387963006: Adding error handlers to setup.exe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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 <windows.h> 5 #include <windows.h>
6 #include <shlwapi.h> 6 #include <shlwapi.h>
7 7
8 #include "base/base_paths.h" 8 #include "base/base_paths.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 23 matching lines...) Expand all
34 #include "chrome/common/chrome_result_codes.h" 34 #include "chrome/common/chrome_result_codes.h"
35 #include "chrome/common/chrome_switches.h" 35 #include "chrome/common/chrome_switches.h"
36 #include "chrome/common/env_vars.h" 36 #include "chrome/common/env_vars.h"
37 #include "chrome/installer/util/google_update_constants.h" 37 #include "chrome/installer/util/google_update_constants.h"
38 #include "chrome/installer/util/google_update_settings.h" 38 #include "chrome/installer/util/google_update_settings.h"
39 #include "chrome/installer/util/install_util.h" 39 #include "chrome/installer/util/install_util.h"
40 #include "chrome/installer/util/util_constants.h" 40 #include "chrome/installer/util/util_constants.h"
41 #include "components/crash/content/app/breakpad_win.h" 41 #include "components/crash/content/app/breakpad_win.h"
42 #include "components/crash/content/app/crash_reporter_client.h" 42 #include "components/crash/content/app/crash_reporter_client.h"
43 #include "components/metrics/client_info.h" 43 #include "components/metrics/client_info.h"
44 #include "content/public/app/startup_helper_win.h" 44 #include "content/public/app/sandbox_helper_win.h"
45 #include "sandbox/win/src/sandbox.h" 45 #include "sandbox/win/src/sandbox.h"
46 46
47 namespace { 47 namespace {
48 // The entry point signature of chrome.dll. 48 // The entry point signature of chrome.dll.
49 typedef int (*DLL_MAIN)(HINSTANCE, sandbox::SandboxInterfaceInfo*); 49 typedef int (*DLL_MAIN)(HINSTANCE, sandbox::SandboxInterfaceInfo*);
50 50
51 typedef void (*RelaunchChromeBrowserWithNewCommandLineIfNeededFunc)(); 51 typedef void (*RelaunchChromeBrowserWithNewCommandLineIfNeededFunc)();
52 52
53 base::LazyInstance<ChromeCrashReporterClient>::Leaky g_chrome_crash_client = 53 base::LazyInstance<ChromeCrashReporterClient>::Leaky g_chrome_crash_client =
54 LAZY_INSTANCE_INITIALIZER; 54 LAZY_INSTANCE_INITIALIZER;
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 } 366 }
367 }; 367 };
368 368
369 MainDllLoader* MakeMainDllLoader() { 369 MainDllLoader* MakeMainDllLoader() {
370 #if defined(GOOGLE_CHROME_BUILD) 370 #if defined(GOOGLE_CHROME_BUILD)
371 return new ChromeDllLoader(); 371 return new ChromeDllLoader();
372 #else 372 #else
373 return new ChromiumDllLoader(); 373 return new ChromiumDllLoader();
374 #endif 374 #endif
375 } 375 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698