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

Unified Diff: chrome/app/chrome_exe_main_win.cc

Issue 53793002: Initial implementation of Chrome Early Loading Framework (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/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 ecbb599923aed74e5aaef337cac2311f7a145b73..0dd3045bf4d4be753533b46a5948ca188f8c2286 100644
--- a/chrome/app/chrome_exe_main_win.cc
+++ b/chrome/app/chrome_exe_main_win.cc
@@ -18,6 +18,7 @@
#include "chrome/browser/policy/policy_path_parser.h"
#include "chrome/common/chrome_paths_internal.h"
#include "chrome/common/chrome_switches.h"
+#include "chrome_elf/chrome_elf_main.h"
#include "components/breakpad/app/breakpad_client.h"
#include "components/breakpad/app/breakpad_win.h"
#include "content/public/app/startup_helper_win.h"
@@ -105,6 +106,11 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev, wchar_t*, int) {
// The exit manager is in charge of calling the dtors of singletons.
base::AtExitManager exit_manager;
+
+ // The purpose of this call is to force the addition of an entry in the IAT
+ // for chrome_elf.dll to force the load time dependency.
gab 2013/11/12 18:24:10 s/the load time.../a load time... Please also add
+ InitChromeElf();
gab 2013/11/12 18:24:10 Why move this back before AttemptFastNotify()?
+
if (AttemptFastNotify(*CommandLine::ForCurrentProcess()))
return 0;

Powered by Google App Engine
This is Rietveld 408576698