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

Unified Diff: chromeos/timezone/timezone_resolver.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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
« no previous file with comments | « chromeos/timezone/timezone_request.cc ('k') | chromeos/timezone/timezone_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/timezone/timezone_resolver.cc
diff --git a/chromeos/timezone/timezone_resolver.cc b/chromeos/timezone/timezone_resolver.cc
index 051a558a0c9d7002bdb539acb96e72ff04471477..5938654c77e98eac2554608b79b422b3a310a509 100644
--- a/chromeos/timezone/timezone_resolver.cc
+++ b/chromeos/timezone/timezone_resolver.cc
@@ -5,12 +5,14 @@
#include "chromeos/timezone/timezone_resolver.h"
#include <math.h>
+#include <stdint.h>
#include <algorithm>
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/power_monitor/power_monitor.h"
#include "base/power_monitor/power_observer.h"
#include "base/prefs/pref_registry_simple.h"
@@ -262,7 +264,7 @@ TimeZoneResolver::TimeZoneResolverImpl::TimeZoneResolverImpl(
base::PowerMonitor* power_monitor = base::PowerMonitor::Get();
power_monitor->AddObserver(this);
- const int64 last_refresh_at_raw =
+ const int64_t last_refresh_at_raw =
resolver_->local_state()->GetInt64(kLastTimeZoneRefreshTime);
const base::Time last_refresh_at =
base::Time::FromInternalValue(last_refresh_at_raw);
« no previous file with comments | « chromeos/timezone/timezone_request.cc ('k') | chromeos/timezone/timezone_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698