aboutsummaryrefslogtreecommitdiffstats
path: root/brillo/backoff_entry.cc
diff options
context:
space:
mode:
authorAlex Vakulenko <avakulenko@google.com>2016-01-20 07:51:11 -0800
committerAlex Vakulenko <avakulenko@google.com>2016-01-20 09:06:29 -0800
commit80b7ee94e36e2d25a97a262d3b558bbf130c2a01 (patch)
treeeca0962a89677999c64e0362789da44fbdedea35 /brillo/backoff_entry.cc
parent77edc5357e1ff2c507a07d4c97f943910609ee44 (diff)
downloadplatform_external_libbrillo-80b7ee94e36e2d25a97a262d3b558bbf130c2a01.tar.gz
platform_external_libbrillo-80b7ee94e36e2d25a97a262d3b558bbf130c2a01.tar.bz2
platform_external_libbrillo-80b7ee94e36e2d25a97a262d3b558bbf130c2a01.zip
libbrillo: Update libchrome APIs to r369476
The new libchrome has been ported from Chromium and some APIs have changed. Make necessary changes at call sites. Change-Id: If39615b805ec50b9487b6327702c4cdbbd21b7ee
Diffstat (limited to 'brillo/backoff_entry.cc')
-rw-r--r--brillo/backoff_entry.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/brillo/backoff_entry.cc b/brillo/backoff_entry.cc
index acef714..8b36287 100644
--- a/brillo/backoff_entry.cc
+++ b/brillo/backoff_entry.cc
@@ -75,7 +75,7 @@ bool BackoffEntry::CanDiscard() const {
base::TimeTicks now = ImplGetTimeNow();
- int64 unused_since_ms =
+ int64_t unused_since_ms =
(now - exponential_backoff_release_time_).InMilliseconds();
// Release time is further than now, we are managing it.
@@ -153,7 +153,7 @@ base::TimeTicks BackoffEntry::CalculateReleaseTime() const {
// Decide between maximum release time and calculated release time, accounting
// for overflow with both.
- int64 release_time_us = std::min(
+ int64_t release_time_us = std::min(
calculated_release_time_us.ValueOrDefault(kMaxTime),
maximum_release_time_us.ValueOrDefault(kMaxTime));