Searched defs:GetHostFieldValue (Results 1 - 2 of 2) sorted by relevance

/external/chromium/net/websockets/
H A Dwebsocket_handshake_unittest.cc100 static std::string GetHostFieldValue(WebSocketHandshake* handshake) { function in class:net::WebSocketHandshakeTest
101 return handshake->GetHostFieldValue();
264 EXPECT_EQ("example.com", GetHostFieldValue(handshake.get()));
275 EXPECT_EQ("example.com", GetHostFieldValue(handshake.get()));
285 EXPECT_EQ("example.com", GetHostFieldValue(handshake.get()));
296 EXPECT_EQ("example.com:8080", GetHostFieldValue(handshake.get()));
307 EXPECT_EQ("example.com:4443", GetHostFieldValue(handshake.get()));
317 EXPECT_EQ("example.com:443", GetHostFieldValue(handshake.get()));
327 EXPECT_EQ("example.com:80", GetHostFieldValue(handshake.get()));
H A Dwebsocket_handshake.cc62 fields.push_back("Host: " + GetHostFieldValue());
128 std::string WebSocketHandshake::GetHostFieldValue() const { function in class:net::WebSocketHandshake

Completed in 219 milliseconds