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

Unified Diff: chrome/app/main_dll_loader_win.h

Issue 2345933002: Break chrome_initial's dependence on //components/startup_metric_utils/browser:lib (Closed)
Patch Set: fdoray feedback Created 4 years, 3 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
Index: chrome/app/main_dll_loader_win.h
diff --git a/chrome/app/main_dll_loader_win.h b/chrome/app/main_dll_loader_win.h
index 77db2ccb55165485a3b608af89cd35b68077ae18..a2a9d643d972067ec8bc1e4ba05e48142f9dd469 100644
--- a/chrome/app/main_dll_loader_win.h
+++ b/chrome/app/main_dll_loader_win.h
@@ -12,6 +12,7 @@
#include <string>
#include "base/strings/string16.h"
+#include "base/time/time.h"
namespace base {
class FilePath;
@@ -26,10 +27,11 @@ class MainDllLoader {
virtual ~MainDllLoader();
// Loads and calls the entry point of chrome.dll. |instance| is the exe
- // instance retrieved from wWinMain.
+ // instance retrieved from wWinMain. |exe_entry_point_ticks| is the time
+ // when wWinMain was entered.
// The return value is what the main entry point of chrome.dll returns
// upon termination.
- int Launch(HINSTANCE instance);
+ int Launch(HINSTANCE instance, base::TimeTicks exe_entry_point_ticks);
grt (UTC plus 2) 2016/09/20 19:20:27 n.b.: I changed this to pass-by-value rather than
// Launches a new instance of the browser if the current instance in
// persistent mode an upgrade is detected.

Powered by Google App Engine
This is Rietveld 408576698