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

Unified Diff: chrome/browser/signin/cross_device_promo.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 | « chrome/browser/signin/cross_device_promo.h ('k') | chrome/browser/signin/cross_device_promo_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/cross_device_promo.cc
diff --git a/chrome/browser/signin/cross_device_promo.cc b/chrome/browser/signin/cross_device_promo.cc
index 913d65ea7bc2ea50404db7ede9f6b9626e7dfd9e..2d425672c4ab6b032847f4e6a0dd731d08331f00 100644
--- a/chrome/browser/signin/cross_device_promo.cc
+++ b/chrome/browser/signin/cross_device_promo.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/signin/cross_device_promo.h"
+#include <stdint.h>
+
#include "base/metrics/histogram_macros.h"
#include "base/prefs/pref_service.h"
#include "base/rand_util.h"
@@ -321,7 +323,7 @@ bool CrossDevicePromo::CheckPromoEligibility() {
// The missing preference indicates CheckPromoEligibility() has never been
// called. Determine when to call the DeviceActivityFetcher for the first
// time.
- const uint64 milliseconds_until_next_activity_fetch = base::RandGenerator(
+ const uint64_t milliseconds_until_next_activity_fetch = base::RandGenerator(
delay_until_next_device_activity_fetch_.InMilliseconds());
const base::Time time_of_next_device_activity_fetch = base::Time::Now() +
base::TimeDelta::FromMilliseconds(
« no previous file with comments | « chrome/browser/signin/cross_device_promo.h ('k') | chrome/browser/signin/cross_device_promo_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698