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

Unified Diff: components/gcm_driver/gcm_channel_status_syncer.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 | « components/gcm_driver/gcm_app_handler.h ('k') | components/gcm_driver/gcm_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_channel_status_syncer.cc
diff --git a/components/gcm_driver/gcm_channel_status_syncer.cc b/components/gcm_driver/gcm_channel_status_syncer.cc
index ea1abb84e877eaf0f7bbdea95a8b9b67bc48e41b..f26008a3b42080570595b32737ac671698cfe97b 100644
--- a/components/gcm_driver/gcm_channel_status_syncer.cc
+++ b/components/gcm_driver/gcm_channel_status_syncer.cc
@@ -4,6 +4,8 @@
#include "components/gcm_driver/gcm_channel_status_syncer.h"
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/command_line.h"
#include "base/location.h"
@@ -211,8 +213,8 @@ base::TimeDelta GCMChannelStatusSyncer::GetRequestDelayInterval() const {
// Make sure that checking with server occurs at polling interval, regardless
// whether the browser restarts.
- int64 delay_seconds = poll_interval_seconds_ -
- (base::Time::Now() - last_check_time_).InSeconds();
+ int64_t delay_seconds = poll_interval_seconds_ -
+ (base::Time::Now() - last_check_time_).InSeconds();
if (delay_seconds < 0)
delay_seconds = 0;
« no previous file with comments | « components/gcm_driver/gcm_app_handler.h ('k') | components/gcm_driver/gcm_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698