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

Unified Diff: extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h

Issue 655063002: Use uint16 for port numbers more pervasively. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert bad change 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
Index: extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h
diff --git a/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h b/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h
index df6c1366287098be4f5721468a4e4259d1803970..16affac39c5e97b86f734612dc22d8fbd65db567 100644
--- a/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h
+++ b/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.h
@@ -71,7 +71,7 @@ class UDPSocketEventDispatcher
int bytes_read,
scoped_refptr<net::IOBuffer> io_buffer,
const std::string& address,
- int port);
+ uint16 port);
// Post an extension event from IO to UI thread
static void PostEvent(const ReceiveParams& params, scoped_ptr<Event> event);
« no previous file with comments | « extensions/browser/api/socket/udp_socket.cc ('k') | extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698