diff options
Diffstat (limited to 'extensions/common/permissions/socket_permission.h')
-rw-r--r-- | extensions/common/permissions/socket_permission.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/common/permissions/socket_permission.h b/extensions/common/permissions/socket_permission.h index 3fb1262..01be06c 100644 --- a/extensions/common/permissions/socket_permission.h +++ b/extensions/common/permissions/socket_permission.h @@ -5,6 +5,8 @@ #ifndef EXTENSIONS_COMMON_PERMISSIONS_SOCKET_PERMISSION_H_ #define EXTENSIONS_COMMON_PERMISSIONS_SOCKET_PERMISSION_H_ +#include <stdint.h> + #include <string> #include "extensions/common/permissions/api_permission.h" @@ -19,7 +21,7 @@ class SocketPermission struct CheckParam : APIPermission::CheckParam { CheckParam(content::SocketPermissionRequest::OperationType type, const std::string& host, - uint16 port) + uint16_t port) : request(type, host, port) {} content::SocketPermissionRequest request; }; |