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

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: Make getter thread-safe 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 1166ee1f2f41fe4d07b59f395cf0c16b52f5f973..bffa07fadafd69e1e914cafb4708e3207cb44d64 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