/external/chromium_org/chrome/common/extensions/permissions/ |
D | socket_permission_data.cc | 22 using content::SocketPermissionRequest; 36 SocketPermissionRequest::OperationType StringToType(const std::string& s) { in StringToType() 38 return SocketPermissionRequest::TCP_CONNECT; in StringToType() 40 return SocketPermissionRequest::TCP_LISTEN; in StringToType() 42 return SocketPermissionRequest::UDP_BIND; in StringToType() 44 return SocketPermissionRequest::UDP_SEND_TO; in StringToType() 46 return SocketPermissionRequest::UDP_MULTICAST_MEMBERSHIP; in StringToType() 48 return SocketPermissionRequest::RESOLVE_HOST; in StringToType() 50 return SocketPermissionRequest::RESOLVE_PROXY; in StringToType() 52 return SocketPermissionRequest::NETWORK_STATE; in StringToType() [all …]
|
D | socket_permission_unittest.cc | 19 using content::SocketPermissionRequest; 132 SocketPermissionRequest::TCP_CONNECT, "www.example.com", 80)); in TEST() 135 SocketPermissionRequest::UDP_SEND_TO, "www.example.com", 80)); in TEST() 140 SocketPermissionRequest::UDP_SEND_TO, "www.example.com", 8800)); in TEST() 143 SocketPermissionRequest::UDP_SEND_TO, "smtp.example.com", 8800)); in TEST() 146 SocketPermissionRequest::TCP_CONNECT, "www.example.com", 80)); in TEST() 151 SocketPermissionRequest::UDP_SEND_TO, "www.example.com", 8800)); in TEST() 154 SocketPermissionRequest::UDP_SEND_TO, "smtp.example.com", 8800)); in TEST() 157 SocketPermissionRequest::UDP_SEND_TO, "SMTP.example.com", 8800)); in TEST() 160 SocketPermissionRequest::TCP_CONNECT, "www.example.com", 80)); in TEST() [all …]
|
D | socket_permission_entry.cc | 22 using content::SocketPermissionRequest; 43 : pattern_(SocketPermissionRequest::NONE, std::string(), kInvalidPort), in SocketPermissionEntry() 78 const content::SocketPermissionRequest& request) const { in Check() 123 return pattern_.type == SocketPermissionRequest::TCP_CONNECT || in IsAddressBoundType() 124 pattern_.type == SocketPermissionRequest::TCP_LISTEN || in IsAddressBoundType() 125 pattern_.type == SocketPermissionRequest::UDP_BIND || in IsAddressBoundType() 126 pattern_.type == SocketPermissionRequest::UDP_SEND_TO; in IsAddressBoundType() 131 SocketPermissionRequest::OperationType type, in ParseHostPattern() 141 SocketPermissionRequest::OperationType type, in ParseHostPattern() 147 if (type == SocketPermissionRequest::NONE) in ParseHostPattern()
|
D | socket_permission_entry.h | 35 bool Check(const content::SocketPermissionRequest& request) const; 50 content::SocketPermissionRequest::OperationType type, 55 content::SocketPermissionRequest::OperationType type, 65 const content::SocketPermissionRequest& pattern() const { return pattern_; } in pattern() 74 content::SocketPermissionRequest pattern_;
|
D | socket_permission.h | 20 CheckParam(content::SocketPermissionRequest::OperationType type, in CheckParam() 24 content::SocketPermissionRequest request;
|
D | socket_permission.cc | 101 content::SocketPermissionRequest::NETWORK_STATE) { in AddNetworkListMessage()
|
/external/chromium_org/chrome/common/extensions/api/sockets/ |
D | sockets_manifest_permission_unittest.cc | 16 using content::SocketPermissionRequest; 65 CheckFormatEntry(SocketPermissionRequest::OperationType operation_type, in CheckFormatEntry() 85 SocketPermissionRequest::OperationType operation_type; 214 CheckFormatEntry(SocketPermissionRequest::UDP_SEND_TO, "*:*"))); in TEST() 217 CheckFormatEntry(SocketPermissionRequest::UDP_SEND_TO, "*:*"))); in TEST() 219 CheckFormatEntry(SocketPermissionRequest::UDP_SEND_TO, "a:80"), in TEST() 220 CheckFormatEntry(SocketPermissionRequest::UDP_SEND_TO, "b:10"))); in TEST() 223 CheckFormatEntry(SocketPermissionRequest::UDP_BIND, "*:*"))); in TEST() 226 CheckFormatEntry(SocketPermissionRequest::UDP_BIND, "*:*"))); in TEST() 228 CheckFormatEntry(SocketPermissionRequest::UDP_BIND, "a:80"), in TEST() [all …]
|
D | sockets_manifest_permission.cc | 28 using content::SocketPermissionRequest; 34 content::SocketPermissionRequest::OperationType operation_type, in ParseHostPattern() 50 content::SocketPermissionRequest::OperationType operation_type, in ParseHostPatterns() 75 content::SocketPermissionRequest::OperationType operation_type) { in SetHostPatterns() 103 SocketPermissionRequest::UDP_BIND, in FromValue() 109 SocketPermissionRequest::UDP_SEND_TO, in FromValue() 115 SocketPermissionRequest::UDP_MULTICAST_MEMBERSHIP, in FromValue() 123 SocketPermissionRequest::TCP_CONNECT, in FromValue() 131 SocketPermissionRequest::TCP_LISTEN, in FromValue() 142 const SocketPermissionRequest& request) const { in CheckRequest() [all …]
|
D | sockets_manifest_data.h | 15 struct SocketPermissionRequest; 36 const content::SocketPermissionRequest& request);
|
D | sockets_manifest_permission.h | 16 struct SocketPermissionRequest; 38 const content::SocketPermissionRequest& request) const;
|
D | sockets_manifest_data.cc | 30 const content::SocketPermissionRequest& request) { in CheckRequest()
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
D | pepper_socket_utils.h | 27 SocketPermissionRequest CreateSocketPermissionRequest( 28 SocketPermissionRequest::OperationType type, 36 const SocketPermissionRequest* params, 43 const SocketPermissionRequest* params,
|
D | pepper_socket_utils.cc | 25 SocketPermissionRequest CreateSocketPermissionRequest( in CreateSocketPermissionRequest() 26 SocketPermissionRequest::OperationType type, in CreateSocketPermissionRequest() 35 return SocketPermissionRequest(type, host, port); in CreateSocketPermissionRequest() 40 const SocketPermissionRequest* params, in CanUseSocketAPIs() 54 const SocketPermissionRequest* params, in CanUseSocketAPIs()
|
D | pepper_network_monitor_host.cc | 26 SocketPermissionRequest request = SocketPermissionRequest( in CanUseNetworkMonitor() 27 SocketPermissionRequest::NETWORK_STATE, std::string(), 0); in CanUseNetworkMonitor()
|
D | pepper_udp_socket_message_filter.cc | 172 SocketPermissionRequest request = in OnMsgBind() 174 SocketPermissionRequest::UDP_BIND, addr); in OnMsgBind() 235 SocketPermissionRequest request = in OnMsgSendTo() 237 SocketPermissionRequest::UDP_SEND_TO, addr); in OnMsgSendTo()
|
D | pepper_network_proxy_host.cc | 82 SocketPermissionRequest request( in GetUIThreadDataOnUIThread() 83 content::SocketPermissionRequest::RESOLVE_PROXY, std::string(), 0); in GetUIThreadDataOnUIThread()
|
D | pepper_host_resolver_message_filter.cc | 128 SocketPermissionRequest request( in OnMsgResolve() 129 SocketPermissionRequest::RESOLVE_HOST, host_port.host, host_port.port); in OnMsgResolve()
|
D | pepper_tcp_socket_message_filter.cc | 209 SocketPermissionRequest request(SocketPermissionRequest::TCP_CONNECT, in OnMsgConnect() 239 content::SocketPermissionRequest request = in OnMsgConnectWithNetAddress() 241 content::SocketPermissionRequest::TCP_CONNECT, net_addr); in OnMsgConnectWithNetAddress() 379 content::SocketPermissionRequest request = in OnMsgListen() 381 content::SocketPermissionRequest::TCP_LISTEN, bind_input_addr_); in OnMsgListen()
|
D | pepper_tcp_server_socket_message_filter.cc | 106 SocketPermissionRequest request = in OnMsgListen() 108 content::SocketPermissionRequest::TCP_LISTEN, addr); in OnMsgListen()
|
/external/chromium_org/chrome/browser/extensions/api/sockets_udp/ |
D | sockets_udp_api.cc | 16 using content::SocketPermissionRequest; 194 content::SocketPermissionRequest param( in Work() 195 SocketPermissionRequest::UDP_BIND, in Work() 236 content::SocketPermissionRequest param( in AsyncWorkStart() 237 SocketPermissionRequest::UDP_SEND_TO, in AsyncWorkStart() 377 content::SocketPermissionRequest param( in Work() 378 SocketPermissionRequest::UDP_MULTICAST_MEMBERSHIP, in Work() 409 content::SocketPermissionRequest param( in Work() 410 SocketPermissionRequest::UDP_MULTICAST_MEMBERSHIP, in Work() 491 content::SocketPermissionRequest param( in Work() [all …]
|
/external/chromium_org/content/public/common/ |
D | socket_permission_request.h | 14 struct SocketPermissionRequest { struct 27 SocketPermissionRequest(OperationType type, in SocketPermissionRequest() argument
|
/external/chromium_org/chrome/browser/extensions/api/socket/ |
D | socket_api.cc | 30 using content::SocketPermissionRequest; 206 SocketPermissionRequest::OperationType operation_type; in AsyncWorkStart() 209 operation_type = SocketPermissionRequest::TCP_CONNECT; in AsyncWorkStart() 212 operation_type = SocketPermissionRequest::UDP_SEND_TO; in AsyncWorkStart() 216 operation_type = SocketPermissionRequest::NONE; in AsyncWorkStart() 284 SocketPermissionRequest::UDP_BIND, address_, port_); in Work() 319 SocketPermissionRequest::TCP_LISTEN, params_->address, params_->port); in Work() 525 SocketPermission::CheckParam param(SocketPermissionRequest::UDP_SEND_TO, in AsyncWorkStart() 728 SocketPermissionRequest::UDP_MULTICAST_MEMBERSHIP, in Work() 773 SocketPermissionRequest::UDP_MULTICAST_MEMBERSHIP, in Work() [all …]
|
/external/chromium_org/extensions/common/permissions/ |
D | permissions_data_unittest.cc | 27 using content::SocketPermissionRequest; 38 SocketPermissionRequest::OperationType type, in CheckSocketPermission() 126 SocketPermissionRequest::TCP_CONNECT, "www.example.com", 80)); in TEST() 139 SocketPermissionRequest::TCP_CONNECT, "www.example.com", 80)); in TEST() 141 extension, SocketPermissionRequest::UDP_BIND, "", 80)); in TEST() 143 extension, SocketPermissionRequest::UDP_BIND, "", 8888)); in TEST() 146 extension, SocketPermissionRequest::UDP_SEND_TO, "example.com", 1900)); in TEST() 149 SocketPermissionRequest::UDP_SEND_TO, in TEST()
|
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp_server/ |
D | sockets_tcp_server_api.cc | 15 using content::SocketPermissionRequest; 182 SocketPermissionRequest param( in Work() 183 SocketPermissionRequest::TCP_LISTEN, in Work()
|
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp/ |
D | sockets_tcp_api.cc | 80 using content::SocketPermissionRequest; 262 content::SocketPermissionRequest param( in AsyncWorkStart() 263 SocketPermissionRequest::TCP_CONNECT, in AsyncWorkStart()
|