Home
last modified time | relevance | path

Searched refs:GetSingleHeader (Results 1 – 3 of 3) sorted by relevance

/external/chromium/net/websockets/
Dwebsocket_handshake.cc157 bool WebSocketHandshake::GetSingleHeader(const HttpResponseHeaders& headers, in GetSingleHeader() function in net::WebSocketHandshake
176 if (!GetSingleHeader(headers, "upgrade", &value) || in ProcessHeaders()
180 if (!GetSingleHeader(headers, "connection", &value) || in ProcessHeaders()
184 if (!GetSingleHeader(headers, "sec-websocket-origin", &ws_origin_)) in ProcessHeaders()
187 if (!GetSingleHeader(headers, "sec-websocket-location", &ws_location_)) in ProcessHeaders()
193 && !GetSingleHeader(headers, "sec-websocket-protocol", &ws_protocol_)) in ProcessHeaders()
Dwebsocket_handshake_draft75.cc129 if (!GetSingleHeader(headers, "websocket-origin", &ws_origin_)) in ProcessHeaders()
132 if (!GetSingleHeader(headers, "websocket-location", &ws_location_)) in ProcessHeaders()
138 && !GetSingleHeader(headers, "websocket-protocol", &ws_protocol_)) in ProcessHeaders()
Dwebsocket_handshake.h55 static bool GetSingleHeader(const HttpResponseHeaders& headers,