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

Unified Diff: chrome/test/chromedriver/net/websocket.cc

Issue 1548153002: Switch to standard integer types in chrome/. (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 | « chrome/test/chromedriver/net/websocket.h ('k') | chrome/test/chromedriver/net/websocket_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chromedriver/net/websocket.cc
diff --git a/chrome/test/chromedriver/net/websocket.cc b/chrome/test/chromedriver/net/websocket.cc
index 9b1ed935764bfc0f580c081100b1c0cf4741aa6e..17dfc1383faef6007492c8e73c56adbb630bd038 100644
--- a/chrome/test/chromedriver/net/websocket.cc
+++ b/chrome/test/chromedriver/net/websocket.cc
@@ -4,6 +4,8 @@
#include "chrome/test/chromedriver/net/websocket.h"
+#include <stddef.h>
+#include <stdint.h>
#include <string.h>
#include <vector>
@@ -15,6 +17,7 @@
#include "base/sha1.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
+#include "build/build_config.h"
#include "net/base/address_list.h"
#include "net/base/io_buffer.h"
#include "net/base/ip_endpoint.h"
@@ -80,7 +83,7 @@ void WebSocket::Connect(const net::CompletionCallback& callback) {
}
}
net::AddressList addresses(
- net::IPEndPoint(address, static_cast<uint16>(url_.EffectiveIntPort())));
+ net::IPEndPoint(address, static_cast<uint16_t>(url_.EffectiveIntPort())));
net::NetLog::Source source;
socket_.reset(new net::TCPClientSocket(addresses, NULL, source));
« no previous file with comments | « chrome/test/chromedriver/net/websocket.h ('k') | chrome/test/chromedriver/net/websocket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698