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

Unified Diff: chrome/browser/chrome_browser_main_win.cc

Issue 10561009: Consolidate RecordBrowserStartupTime() into one location (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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/browser/chrome_browser_main_win.cc
diff --git a/chrome/browser/chrome_browser_main_win.cc b/chrome/browser/chrome_browser_main_win.cc
index 07aabe5329717d81ef555552321a0d58ad4aca8e..9b1e9ced3ea94d68668e095400189ff13b5025f8 100644
--- a/chrome/browser/chrome_browser_main_win.cc
+++ b/chrome/browser/chrome_browser_main_win.cc
@@ -99,17 +99,6 @@ void WarnAboutMinimumSystemRequirements() {
}
}
-void RecordBrowserStartupTime() {
- // Calculate the time that has elapsed from our own process creation.
- FILETIME creation_time = {};
- FILETIME ignore = {};
- ::GetProcessTimes(::GetCurrentProcess(), &creation_time, &ignore, &ignore,
- &ignore);
-
- RecordPreReadExperimentTime("Startup.BrowserMessageLoopStartTime",
- base::Time::Now() - base::Time::FromFileTime(creation_time));
-}
-
void ShowCloseBrowserFirstMessageBox() {
const string16 title = l10n_util::GetStringUTF16(IDS_PRODUCT_NAME);
const string16 message = l10n_util::GetStringUTF16(IDS_UNINSTALL_CLOSE_APP);

Powered by Google App Engine
This is Rietveld 408576698