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 <windows.h> | 5 #include <windows.h> |
6 #include <shlwapi.h> | 6 #include <shlwapi.h> |
7 | 7 |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/debug/trace_event.h" | 10 #include "base/debug/trace_event.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "chrome/app/client_util.h" | 25 #include "chrome/app/client_util.h" |
26 #include "chrome/app/image_pre_reader_win.h" | 26 #include "chrome/app/image_pre_reader_win.h" |
27 #include "chrome/common/chrome_constants.h" | 27 #include "chrome/common/chrome_constants.h" |
28 #include "chrome/common/chrome_result_codes.h" | 28 #include "chrome/common/chrome_result_codes.h" |
29 #include "chrome/common/chrome_switches.h" | 29 #include "chrome/common/chrome_switches.h" |
30 #include "chrome/common/env_vars.h" | 30 #include "chrome/common/env_vars.h" |
31 #include "chrome/installer/util/google_update_constants.h" | 31 #include "chrome/installer/util/google_update_constants.h" |
32 #include "chrome/installer/util/google_update_settings.h" | 32 #include "chrome/installer/util/google_update_settings.h" |
33 #include "chrome/installer/util/install_util.h" | 33 #include "chrome/installer/util/install_util.h" |
34 #include "chrome/installer/util/util_constants.h" | 34 #include "chrome/installer/util/util_constants.h" |
35 #include "components/breakpad/app/breakpad_client.h" | 35 #include "components/crash/app/breakpad_client.h" |
36 #include "components/breakpad/app/breakpad_win.h" | 36 #include "components/crash/app/breakpad_win.h" |
37 #include "components/metrics/client_info.h" | 37 #include "components/metrics/client_info.h" |
38 #include "content/public/app/startup_helper_win.h" | 38 #include "content/public/app/startup_helper_win.h" |
39 #include "sandbox/win/src/sandbox.h" | 39 #include "sandbox/win/src/sandbox.h" |
40 | 40 |
41 namespace { | 41 namespace { |
42 // The entry point signature of chrome.dll. | 42 // The entry point signature of chrome.dll. |
43 typedef int (*DLL_MAIN)(HINSTANCE, sandbox::SandboxInterfaceInfo*); | 43 typedef int (*DLL_MAIN)(HINSTANCE, sandbox::SandboxInterfaceInfo*); |
44 | 44 |
45 typedef void (*RelaunchChromeBrowserWithNewCommandLineIfNeededFunc)(); | 45 typedef void (*RelaunchChromeBrowserWithNewCommandLineIfNeededFunc)(); |
46 | 46 |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 } | 363 } |
364 }; | 364 }; |
365 | 365 |
366 MainDllLoader* MakeMainDllLoader() { | 366 MainDllLoader* MakeMainDllLoader() { |
367 #if defined(GOOGLE_CHROME_BUILD) | 367 #if defined(GOOGLE_CHROME_BUILD) |
368 return new ChromeDllLoader(); | 368 return new ChromeDllLoader(); |
369 #else | 369 #else |
370 return new ChromiumDllLoader(); | 370 return new ChromiumDllLoader(); |
371 #endif | 371 #endif |
372 } | 372 } |
OLD | NEW |