Index: content/public/common/socket_permission_request.h |
diff --git a/content/public/common/socket_permission_request.h b/content/public/common/socket_permission_request.h |
index b7b4389b9b4789f8c203b5bf51470d2ffc3c8f0a..3db53b3699a6c2ba183d88685f8bf92fd396168e 100644 |
--- a/content/public/common/socket_permission_request.h |
+++ b/content/public/common/socket_permission_request.h |
@@ -7,6 +7,8 @@ |
#include <string> |
+#include "base/basictypes.h" |
+ |
namespace content { |
// This module provides helper types for checking socket permission. |
@@ -27,7 +29,7 @@ struct SocketPermissionRequest { |
SocketPermissionRequest(OperationType type, |
const std::string& host, |
- int port) |
+ uint16 port) |
: type(type), |
host(host), |
port(port) { |
@@ -35,7 +37,7 @@ struct SocketPermissionRequest { |
OperationType type; |
std::string host; |
- int port; |
+ uint16 port; |
}; |
} // namespace content |