Index: chrome/app/chrome_exe_main_win.cc |
diff --git a/chrome/app/chrome_exe_main_win.cc b/chrome/app/chrome_exe_main_win.cc |
index 75454db2418a66fb6edd03242756553eb952c9e5..653528644c5cfba1abbacb09896c08ff51c597bd 100644 |
--- a/chrome/app/chrome_exe_main_win.cc |
+++ b/chrome/app/chrome_exe_main_win.cc |
@@ -14,7 +14,6 @@ |
#include "base/at_exit.h" |
#include "base/command_line.h" |
#include "base/files/file_path.h" |
-#include "base/lazy_instance.h" |
#include "base/logging.h" |
#include "base/path_service.h" |
#include "base/strings/string16.h" |
@@ -26,9 +25,11 @@ |
#include "chrome/app/main_dll_loader_win.h" |
#include "chrome/browser/policy/policy_path_parser.h" |
#include "chrome/browser/win/chrome_process_finder.h" |
+#include "chrome/common/chrome_constants.h" |
#include "chrome/common/chrome_paths_internal.h" |
#include "chrome/common/chrome_switches.h" |
-#include "chrome/installer/util/browser_distribution.h" |
+#include "chrome/install_static/install_details.h" |
+#include "chrome_elf/chrome_elf_constants.h" |
#include "chrome_elf/chrome_elf_main.h" |
#include "components/crash/content/app/crash_switches.h" |
#include "components/crash/content/app/crashpad.h" |
@@ -204,6 +205,9 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev, wchar_t*, int) { |
int main() { |
HINSTANCE instance = GetModuleHandle(nullptr); |
#endif |
+ install_static::InstallDetails::ImportFromModule( |
+ chrome::kChromeElfDllName, kChromeElfInstallDetailsPayloadFunctionName); |
+ |
// Initialize the CommandLine singleton from the environment. |
base::CommandLine::Init(0, nullptr); |
const base::CommandLine* command_line = |