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

Unified Diff: remoting/host/heartbeat_sender.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (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
« no previous file with comments | « remoting/host/heartbeat_sender.h ('k') | remoting/host/host_change_notification_listener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/heartbeat_sender.cc
diff --git a/remoting/host/heartbeat_sender.cc b/remoting/host/heartbeat_sender.cc
index 5e4e00bb0a289304d6c022576ddfa5bf720dc7bc..5b75c4a698222b960ca5e3dcb36c64111ace7944 100644
--- a/remoting/host/heartbeat_sender.cc
+++ b/remoting/host/heartbeat_sender.cc
@@ -5,6 +5,7 @@
#include "remoting/host/heartbeat_sender.h"
#include <math.h>
+#include <stdint.h>
#include "base/bind.h"
#include "base/callback_helpers.h"
@@ -47,9 +48,9 @@ const char kHeartbeatResultTag[] = "heartbeat-result";
const char kSetIntervalTag[] = "set-interval";
const char kExpectedSequenceIdTag[] = "expected-sequence-id";
-const int64 kDefaultHeartbeatIntervalMs = 5 * 60 * 1000; // 5 minutes.
-const int64 kResendDelayMs = 10 * 1000; // 10 seconds.
-const int64 kResendDelayOnHostNotFoundMs = 10 * 1000; // 10 seconds.
+const int64_t kDefaultHeartbeatIntervalMs = 5 * 60 * 1000; // 5 minutes.
+const int64_t kResendDelayMs = 10 * 1000; // 10 seconds.
+const int64_t kResendDelayOnHostNotFoundMs = 10 * 1000; // 10 seconds.
const int kMaxResendOnHostNotFoundCount = 12; // 2 minutes (12 x 10 seconds).
} // namespace
« no previous file with comments | « remoting/host/heartbeat_sender.h ('k') | remoting/host/host_change_notification_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698