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

Unified Diff: google_apis/gcm/base/socket_stream.cc

Issue 1548673002: Switch to standard integer types in google_apis/. (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 | « google_apis/gcm/base/socket_stream.h ('k') | google_apis/gcm/base/socket_stream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/base/socket_stream.cc
diff --git a/google_apis/gcm/base/socket_stream.cc b/google_apis/gcm/base/socket_stream.cc
index 48c7da89b40f71e4fdd9917821f542fe3108a654..45af7579c24cee07c7b61468e7ab03676fa09353 100644
--- a/google_apis/gcm/base/socket_stream.cc
+++ b/google_apis/gcm/base/socket_stream.cc
@@ -4,6 +4,8 @@
#include "google_apis/gcm/base/socket_stream.h"
+#include <stddef.h>
+
#include "base/bind.h"
#include "base/callback.h"
#include "net/base/io_buffer.h"
@@ -71,7 +73,7 @@ bool SocketInputStream::Skip(int count) {
return false;
}
-int64 SocketInputStream::ByteCount() const {
+int64_t SocketInputStream::ByteCount() const {
DCHECK_NE(GetState(), CLOSED);
DCHECK_NE(GetState(), READING);
return next_pos_;
@@ -245,7 +247,7 @@ void SocketOutputStream::BackUp(int count) {
<< next_pos_ << " bytes used.";
}
-int64 SocketOutputStream::ByteCount() const {
+int64_t SocketOutputStream::ByteCount() const {
DCHECK_NE(GetState(), CLOSED);
DCHECK_NE(GetState(), FLUSHING);
return next_pos_;
« no previous file with comments | « google_apis/gcm/base/socket_stream.h ('k') | google_apis/gcm/base/socket_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698