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

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

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/mcs_util_unittest.cc ('k') | google_apis/gcm/base/socket_stream.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.h
diff --git a/google_apis/gcm/base/socket_stream.h b/google_apis/gcm/base/socket_stream.h
index 527056adbbde7cc2bcc753403c650945c2fb387d..e9bdaa71d29ce7c35aa7cb0c6feac91a92a14ba1 100644
--- a/google_apis/gcm/base/socket_stream.h
+++ b/google_apis/gcm/base/socket_stream.h
@@ -8,9 +8,11 @@
#ifndef GOOGLE_APIS_GCM_BASE_SOCKET_STREAM_H_
#define GOOGLE_APIS_GCM_BASE_SOCKET_STREAM_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/callback_forward.h"
#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "google/protobuf/io/zero_copy_stream.h"
@@ -69,7 +71,7 @@ class GCM_EXPORT SocketInputStream
bool Next(const void** data, int* size) override;
void BackUp(int count) override;
bool Skip(int count) override; // Not implemented.
- int64 ByteCount() const override;
+ int64_t ByteCount() const override;
// The remaining amount of valid data available to be read.
int UnreadByteCount() const;
@@ -164,7 +166,7 @@ class GCM_EXPORT SocketOutputStream
// ZeroCopyOutputStream implementation.
bool Next(void** data, int* size) override;
void BackUp(int count) override;
- int64 ByteCount() const override;
+ int64_t ByteCount() const override;
// Writes the buffer into the Socket.
net::Error Flush(const base::Closure& callback);
« no previous file with comments | « google_apis/gcm/base/mcs_util_unittest.cc ('k') | google_apis/gcm/base/socket_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698