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

Unified Diff: chrome/nacl/nacl_exe_win_64.cc

Issue 2422643002: Windows install_static refactor. (Closed)
Patch Set: sync to position 431863 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
Index: chrome/nacl/nacl_exe_win_64.cc
diff --git a/chrome/nacl/nacl_exe_win_64.cc b/chrome/nacl/nacl_exe_win_64.cc
index 7f1e462badfb01cc45af28f3a4223810d1586b18..4edf06549313d8a699a8deb196b6eaaa12b0b327 100644
--- a/chrome/nacl/nacl_exe_win_64.cc
+++ b/chrome/nacl/nacl_exe_win_64.cc
@@ -5,7 +5,9 @@
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/lazy_instance.h"
+#include "build/build_config.h"
#include "chrome/app/chrome_crash_reporter_client_win.h"
+#include "chrome/install_static/product_install_details.h"
#include "components/crash/content/app/breakpad_win.h"
#include "components/nacl/loader/nacl_helper_win_64.h"
#include "content/public/common/content_switches.h"
@@ -18,6 +20,10 @@ base::LazyInstance<ChromeCrashReporterClient>::Leaky g_chrome_crash_client =
} // namespace
int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t*, int) {
+#if defined(OS_WIN)
+ install_static::InitializeProductDetailsForPrimaryModule();
+#endif
+
base::AtExitManager exit_manager;
base::CommandLine::Init(0, NULL);

Powered by Google App Engine
This is Rietveld 408576698