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

Unified Diff: chrome/browser/chromeos/policy/heartbeat_scheduler.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: chrome/browser/chromeos/policy/heartbeat_scheduler.cc
diff --git a/chrome/browser/chromeos/policy/heartbeat_scheduler.cc b/chrome/browser/chromeos/policy/heartbeat_scheduler.cc
index 5bb6bd8f5c1f3a9983727b313c6c2ffb1be860ac..ff263eddb9dbcaf50cfbe43152999f619b7e11b8 100644
--- a/chrome/browser/chromeos/policy/heartbeat_scheduler.cc
+++ b/chrome/browser/chromeos/policy/heartbeat_scheduler.cc
@@ -10,6 +10,7 @@
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/location.h"
+#include "base/macros.h"
#include "base/sequenced_task_runner.h"
#include "base/strings/string_number_conversions.h"
#include "base/time/time.h"
@@ -44,7 +45,7 @@ const char* kUpstreamNotificationNotifyKey = "notify";
const char* kUpstreamNotificationRegIdKey = "registration_id";
// If we get an error registering with GCM, try again in two minutes.
-const int64 kRegistrationRetryDelayMs = 2 * 60 * 1000;
+const int64_t kRegistrationRetryDelayMs = 2 * 60 * 1000;
const char* kHeartbeatSchedulerScope =
"policy.heartbeat_scheduler.upstream_notification";
@@ -64,8 +65,8 @@ std::string GetDestinationID() {
namespace policy {
-const int64 HeartbeatScheduler::kDefaultHeartbeatIntervalMs =
- 2 * 60 * 1000; // 2 minutes
+const int64_t HeartbeatScheduler::kDefaultHeartbeatIntervalMs =
+ 2 * 60 * 1000; // 2 minutes
// Helper class used to manage GCM registration (handles retrying after
// errors, etc).
« no previous file with comments | « chrome/browser/chromeos/policy/heartbeat_scheduler.h ('k') | chrome/browser/chromeos/policy/heartbeat_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698