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

Unified Diff: google_apis/gcm/base/socket_stream_unittest.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.cc ('k') | google_apis/gcm/engine/account_mapping.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/base/socket_stream_unittest.cc
diff --git a/google_apis/gcm/base/socket_stream_unittest.cc b/google_apis/gcm/base/socket_stream_unittest.cc
index 561e5cfa09b467fe74c01c46d214c33df2a29365..ca53c3be4cce6a4b2c16fb1b4792822a34c4d0ac 100644
--- a/google_apis/gcm/base/socket_stream_unittest.cc
+++ b/google_apis/gcm/base/socket_stream_unittest.cc
@@ -4,8 +4,10 @@
#include "google_apis/gcm/base/socket_stream.h"
-#include "base/basictypes.h"
+#include <stdint.h>
+
#include "base/bind.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "base/run_loop.h"
#include "base/strings/string_piece.h"
@@ -113,8 +115,8 @@ base::StringPiece GCMSocketStreamTest::DoInputStreamRead(int bytes) {
break;
total_bytes_read += size;
if (initial_buffer) { // Verify the buffer doesn't skip data.
- EXPECT_EQ(static_cast<const uint8*>(initial_buffer) + total_bytes_read,
- static_cast<const uint8*>(buffer) + size);
+ EXPECT_EQ(static_cast<const uint8_t*>(initial_buffer) + total_bytes_read,
+ static_cast<const uint8_t*>(buffer) + size);
} else {
initial_buffer = buffer;
}
« no previous file with comments | « google_apis/gcm/base/socket_stream.cc ('k') | google_apis/gcm/engine/account_mapping.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698