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

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

Issue 717263003: Use uint16 for port numbers, extensions/ edition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review 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);

Powered by Google App Engine
This is Rietveld 408576698