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

Unified Diff: chrome/app/chrome_main.cc

Issue 2491463002: Revert of Windows install_static refactor. (Closed)
Patch Set: Created 4 years, 1 month 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main.cc
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc
index e24c4675287833e7a2654dccbe050ebe1dc89f10..cf3502e5dce1d42530a93a1cfc293100626b1c6f 100644
--- a/chrome/app/chrome_main.cc
+++ b/chrome/app/chrome_main.cc
@@ -21,7 +21,6 @@
#include "base/debug/dump_without_crashing.h"
#include "base/win/win_util.h"
#include "chrome/common/chrome_constants.h"
-#include "chrome/install_static/install_details.h"
#define DLLEXPORT __declspec(dllexport)
@@ -55,11 +54,6 @@
_set_FMA3_enable(0);
#endif // WIN && ARCH_CPU_X86_64
-#if defined(OS_WIN)
- install_static::InstallDetails::InitializeFromPrimaryModule(
- chrome::kChromeElfDllName);
-#endif
-
ChromeMainDelegate chrome_main_delegate(
base::TimeTicks::FromInternalValue(exe_entry_point_ticks));
content::ContentMainParams params(&chrome_main_delegate);
@@ -72,7 +66,7 @@
params.sandbox_info = sandbox_info;
// SetDumpWithoutCrashingFunction must be passed the DumpProcess function
- // from chrome_elf and not from the DLL in order for DumpWithoutCrashing to
+ // from the EXE and not from the DLL in order for DumpWithoutCrashing to
// function correctly.
typedef void (__cdecl *DumpProcessFunction)();
DumpProcessFunction DumpProcess = reinterpret_cast<DumpProcessFunction>(
@@ -80,11 +74,6 @@
"DumpProcessWithoutCrash"));
CHECK(DumpProcess);
base::debug::SetDumpWithoutCrashingFunction(DumpProcess);
-
- // Verify that chrome_elf and this module (chrome.dll and chrome_child.dll)
- // have the same version.
- if (install_static::InstallDetails::Get().VersionMismatch())
- base::debug::DumpWithoutCrashing();
#else
params.argc = argc;
params.argv = argv;
« 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