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

Unified Diff: chrome/browser/ui/browser.cc

Issue 22594007: Implement CurrentProcessInfo::CreationTime() for Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add a ScopedAllowIO Created 7 years, 4 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/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 54251d027d60d1adb1ad4586f8d8933b618dbda6..c9901d751781867df44c5d9fc2662793118534f0 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1211,9 +1211,6 @@ void Browser::OnWindowDidShow() {
return;
window_has_shown_ = true;
-// CurrentProcessInfo::CreationTime() is currently only implemented on Mac and
-// Windows.
-#if defined(OS_MACOSX) || defined(OS_WIN)
// Measure the latency from startup till the first browser window becomes
// visible.
static bool is_first_browser_window = true;
@@ -1229,7 +1226,6 @@ void Browser::OnWindowDidShow() {
base::Time::Now() - *process_creation_time);
}
}
-#endif // defined(OS_MACOSX) || defined(OS_WIN)
// Nothing to do for non-tabbed windows.
if (!is_type_tabbed())
« base/process/process_info_linux.cc ('K') | « chrome/browser/ui/app_list/app_list_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698