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 230e8b7436ab1c5fb1d0dd92e1b309e713ef5ee7..26bb2fcffe1e921ccfeabecd4b6e6ddf0af2061c 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,8 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev, wchar_t*, int) { |
int main() { |
HINSTANCE instance = GetModuleHandle(nullptr); |
#endif |
+ install_static::InstallDetails::ImportFromModule( |
+ chrome::kChromeElfDllName, kChromeElfInstallDetailsPayloadFunctionName); |
SignalInitializeCrashReporting(); |
// Initialize the CommandLine singleton from the environment. |