1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_PUBLIC_COMMON_SOCKET_PERMISSION_REQUEST_H_
6 #define CONTENT_PUBLIC_COMMON_SOCKET_PERMISSION_REQUEST_H_
10 #include "base/basictypes.h"
14 // This module provides helper types for checking socket permission.
16 struct SocketPermissionRequest
{
23 UDP_MULTICAST_MEMBERSHIP
,
27 OPERATION_TYPE_LAST
= NETWORK_STATE
30 SocketPermissionRequest(OperationType type
,
31 const std::string
& host
,
43 } // namespace content
45 #endif // CONTENT_PUBLIC_COMMON_SOCKET_PERMISSION_REQUEST_H_