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

Unified Diff: chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc

Issue 1417673009: base: SysInfo::Uptime() returns a TimeDelta (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update perf_provider_chromeos.cc (just updated in another CL) Created 5 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/browser/ui/webui/memory_internals/memory_internals_proxy.cc
diff --git a/chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc b/chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc
index 50b65a63844c892b7b492ae464f20c5558b148ec..dd80abeecd669013b20817f0dd76af806e4e2841 100644
--- a/chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc
+++ b/chrome/browser/ui/webui/memory_internals/memory_internals_proxy.cc
@@ -348,7 +348,7 @@ void MemoryInternalsProxy::ConvertTabsInformation(
}
void MemoryInternalsProxy::FinishCollection() {
- information_->SetInteger("uptime", base::SysInfo::Uptime());
+ information_->SetInteger("uptime", base::SysInfo::Uptime().InMilliseconds());
information_->SetString("os", base::SysInfo::OperatingSystemName());
information_->SetString("os_version",
base::SysInfo::OperatingSystemVersion());
« no previous file with comments | « chrome/browser/metrics/perf/perf_provider_chromeos.cc ('k') | components/open_from_clipboard/clipboard_recent_content_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698