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

Unified Diff: chrome/chrome_watcher/chrome_watcher_main.cc

Issue 2635953002: Use loader-based binding of GetInstallDetailsPayload for install_static. (Closed)
Patch Set: sync to position 444298 Created 3 years, 11 months 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/chrome_watcher/BUILD.gn ('k') | chrome/install_static/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_watcher/chrome_watcher_main.cc
diff --git a/chrome/chrome_watcher/chrome_watcher_main.cc b/chrome/chrome_watcher/chrome_watcher_main.cc
index 47efb29cc50b76225d0c43dcbe9970b6ff1db3eb..180ec3c2446f0a69915c2cef0e6a8436a6654252 100644
--- a/chrome/chrome_watcher/chrome_watcher_main.cc
+++ b/chrome/chrome_watcher/chrome_watcher_main.cc
@@ -34,8 +34,7 @@
#include "base/win/scoped_handle.h"
#include "base/win/win_util.h"
#include "chrome/chrome_watcher/chrome_watcher_main_api.h"
-#include "chrome/common/chrome_constants.h"
-#include "chrome/install_static/install_details.h"
+#include "chrome/install_static/initialize_from_primary_module.h"
#include "components/browser_watcher/endsession_watcher_window_win.h"
#include "components/browser_watcher/exit_code_watcher_win.h"
#include "components/browser_watcher/window_hang_monitor_win.h"
@@ -188,8 +187,7 @@ extern "C" int WatcherMain(const base::char16* registry_path,
DWORD main_thread_id,
HANDLE on_initialized_event_handle,
const base::char16* browser_data_directory) {
- install_static::InstallDetails::InitializeFromPrimaryModule(
- chrome::kChromeElfDllName);
+ install_static::InitializeFromPrimaryModule();
base::Process process(process_handle);
base::win::ScopedHandle on_initialized_event(on_initialized_event_handle);
« no previous file with comments | « chrome/chrome_watcher/BUILD.gn ('k') | chrome/install_static/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698