websocket_channel_test.cc | 452 enum IsSync { SYNC, ASYNC }; 466 // PrepareReadFramesError(). If |async| is ASYNC, then ReadFrames() will 469 // |async| is SYNC, the response will be returned synchronously. |error| is 475 void PrepareReadFrames(IsSync async, 478 responses_.push_back(new Response(async, error, CreateFrameVector(frames))); 483 void PrepareRawReadFrames(IsSync async, 486 responses_.push_back(new Response(async, error, frames.Pass())); 490 void PrepareReadFramesError(IsSync async, int error) { 492 new Response(async, error, ScopedVector<WebSocketFrame>())) 528 IsSync async; member in struct:net::__anon14445::ReadableFakeWebSocketStream::Response [all...] |