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

Unified Diff: chrome/browser/extensions/api/socket/tcp_socket_unittest.cc

Issue 718273002: Use uint16 for port numbers, net/ edition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 6 years, 1 month 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 | « no previous file | net/base/host_mapping_rules.cc » ('j') | net/base/ip_endpoint.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/socket/tcp_socket_unittest.cc
diff --git a/chrome/browser/extensions/api/socket/tcp_socket_unittest.cc b/chrome/browser/extensions/api/socket/tcp_socket_unittest.cc
index 91f9b74ddd96c2ed80133292cfee5e12d21c85eb..935bfbc368c4862227abf0f40195496cbc36eb32 100644
--- a/chrome/browser/extensions/api/socket/tcp_socket_unittest.cc
+++ b/chrome/browser/extensions/api/socket/tcp_socket_unittest.cc
@@ -43,8 +43,7 @@ class MockTCPSocket : public net::TCPClientSocket {
class MockTCPServerSocket : public net::TCPServerSocket {
public:
- explicit MockTCPServerSocket()
- : net::TCPServerSocket(NULL, net::NetLog::Source()) {
+ MockTCPServerSocket() : net::TCPServerSocket(NULL, net::NetLog::Source()) {
}
MOCK_METHOD2(Listen, int(const net::IPEndPoint& address, int backlog));
MOCK_METHOD2(Accept, int(scoped_ptr<net::StreamSocket>* socket,
« no previous file with comments | « no previous file | net/base/host_mapping_rules.cc » ('j') | net/base/ip_endpoint.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698