Home
last modified time | relevance | path

Searched refs:ValidateResponse (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/google_apis/cup/
Dclient_update_protocol_unittest.cc131 TEST_F(CupTest, ValidateResponse) { in TEST_F() argument
152 EXPECT_TRUE(CUP().ValidateResponse(kGoodResponse, kGoodC, kGoodSP)); in TEST_F()
155 EXPECT_FALSE(CUP().ValidateResponse(kBadResponse, kGoodC, kGoodSP)); in TEST_F()
156 EXPECT_FALSE(CUP().ValidateResponse(kGoodResponse, kBadC, kGoodSP)); in TEST_F()
157 EXPECT_FALSE(CUP().ValidateResponse(kGoodResponse, kGoodC, kBadSP)); in TEST_F()
158 EXPECT_FALSE(CUP().ValidateResponse(kGoodResponse, kBadC, kBadSP)); in TEST_F()
159 EXPECT_FALSE(CUP().ValidateResponse(kBadResponse, kGoodC, kBadSP)); in TEST_F()
160 EXPECT_FALSE(CUP().ValidateResponse(kBadResponse, kBadC, kGoodSP)); in TEST_F()
161 EXPECT_FALSE(CUP().ValidateResponse(kBadResponse, kBadC, kBadSP)); in TEST_F()
Dclient_update_protocol.h70 bool ValidateResponse(const base::StringPiece& response_body,
Dclient_update_protocol.cc238 bool ClientUpdateProtocol::ValidateResponse( in ValidateResponse() function in ClientUpdateProtocol
/external/chromium_org/net/websockets/
Dwebsocket_basic_handshake_stream.cc179 return rv == OK ? ValidateResponse() : rv; in ReadResponseHeaders()
274 result = ValidateResponse(); in ReadResponseHeadersCallback()
278 int WebSocketBasicHandshakeStream::ValidateResponse() { in ValidateResponse() function in net::WebSocketBasicHandshakeStream
Dwebsocket_basic_handshake_stream.h83 int ValidateResponse();