Descriptionbase: SysInfo::Uptime() returns a TimeDelta
This makes more sense than returning a number of milliseconds, especially
when the function name does not reflect the return value type.
In a few places, the number of milliseconds is converted into a TimeDelta
anyway. So this patch simplifies some of the code out there.
BUG=chromium:157549
TEST=build successfully, SysInfoTest passes
TBR=jif@chromium.org
Signed-off-by: Simon Que <sque@chromium.org>
Committed: https://crrev.com/0f78ba540eb43fb2bb3b7726eeb41d22bfee09a3
Cr-Commit-Position: refs/heads/master@{#357937}
Patch Set 1 #Patch Set 2 : Rebased #Patch Set 3 : Change Uptime usage in iOS code #Patch Set 4 : Update perf_provider_chromeos.cc (just updated in another CL) #Messages
Total messages: 28 (12 generated)
|