| 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;
|
|
|
|
|