Index: chrome/app/chrome_main.cc |
diff --git a/chrome/app/chrome_main.cc b/chrome/app/chrome_main.cc |
index cf3502e5dce1d42530a93a1cfc293100626b1c6f..36dade70bd3a6822525603266792a6706bc5d65a 100644 |
--- a/chrome/app/chrome_main.cc |
+++ b/chrome/app/chrome_main.cc |
@@ -21,6 +21,8 @@ |
#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" |
+#include "chrome_elf/chrome_elf_constants.h" |
#define DLLEXPORT __declspec(dllexport) |
@@ -54,6 +56,11 @@ int ChromeMain(int argc, const char** argv) { |
_set_FMA3_enable(0); |
#endif // WIN && ARCH_CPU_X86_64 |
+#if defined(OS_WIN) |
+ install_static::InstallDetails::ImportFromModule( |
+ chrome::kChromeElfDllName, kChromeElfInstallDetailsPayloadFunctionName); |
+#endif |
+ |
ChromeMainDelegate chrome_main_delegate( |
base::TimeTicks::FromInternalValue(exe_entry_point_ticks)); |
content::ContentMainParams params(&chrome_main_delegate); |