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

Unified Diff: content/child/blink_platform_impl_unittest.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/child/blink_platform_impl.cc ('k') | content/child/blob_storage/blob_consolidation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/blink_platform_impl_unittest.cc
diff --git a/content/child/blink_platform_impl_unittest.cc b/content/child/blink_platform_impl_unittest.cc
index 5a43c55b55dd98f57600523444b5d7bbbf39379d..0512f792a47b132267f87e818e0ce1810dda2818 100644
--- a/content/child/blink_platform_impl_unittest.cc
+++ b/content/child/blink_platform_impl_unittest.cc
@@ -4,6 +4,8 @@
#include "content/child/blink_platform_impl.h"
+#include <stdint.h>
+
#include "base/run_loop.h"
#include "base/time/time.h"
#include "net/base/ip_address_number.h"
@@ -51,7 +53,7 @@ TEST(BlinkPlatformTest, IsReservedIPAddress) {
EXPECT_FALSE(platform_impl.isReservedIPAddress("127.0.0.1.example.com"));
// Moar IPv4
- uint8 address[4] = {0, 0, 0, 1};
+ uint8_t address[4] = {0, 0, 0, 1};
for (int i = 0; i < 256; i++) {
address[0] = i;
std::string addressString =
@@ -83,7 +85,7 @@ TEST(BlinkPlatformTest, castWebSecurityOrigin) {
const char* origin;
const char* scheme;
const char* host;
- uint16 port;
+ uint16_t port;
} cases[] = {
{"http://example.com", "http", "example.com", 80},
{"http://example.com:80", "http", "example.com", 80},
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/blob_storage/blob_consolidation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698