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

Unified Diff: content/public/browser/devtools_http_handler.h

Issue 717373002: Use uint16 for port numbers, content/ 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: content/public/browser/devtools_http_handler.h
diff --git a/content/public/browser/devtools_http_handler.h b/content/public/browser/devtools_http_handler.h
index 2b656b649580c0839eed53504954e51460f67ac4..584458caed391eb81aae900b32c87083ecd88a8d 100644
--- a/content/public/browser/devtools_http_handler.h
+++ b/content/public/browser/devtools_http_handler.h
@@ -32,7 +32,7 @@ class DevToolsHttpHandler {
// and instantiating server socket.
class CONTENT_EXPORT ServerSocketFactory {
public:
- ServerSocketFactory(const std::string& address, int port, int backlog);
+ ServerSocketFactory(const std::string& address, uint16 port, int backlog);
virtual ~ServerSocketFactory();
// Returns a new instance of ServerSocket or NULL if an error occurred.
@@ -46,7 +46,7 @@ class DevToolsHttpHandler {
virtual scoped_ptr<net::ServerSocket> Create() const = 0;
const std::string address_;
- const int port_;
+ const uint16 port_;
const int backlog_;
private:
« no previous file with comments | « content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc ('k') | content/public/common/common_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698