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_
12 // This module provides helper types for checking socket permission.
14 struct SocketPermissionRequest {
21 UDP_MULTICAST_MEMBERSHIP,
25 OPERATION_TYPE_LAST = NETWORK_STATE
28 SocketPermissionRequest(OperationType type,
29 const std::string& host,
41 } // namespace content
43 #endif // CONTENT_PUBLIC_COMMON_SOCKET_PERMISSION_REQUEST_H_