Lines Matching refs:frames
44 // WebSocket frames. This class provides an abstraction for WebSocket streams
116 // |frames| remains owned by the caller and must be valid until the
117 // operation completes or Close() is called. |frames| must be empty on
125 // frames->size() >= 1 if the result is OK.
127 // Only frames with complete header information are inserted into |frames|. If
155 virtual int ReadFrames(ScopedVector<WebSocketFrame>* frames,
160 // |frames| must be valid until the operation completes or Close() is called.
165 // This method will only return OK if all frames were written completely.
172 virtual int WriteFrames(ScopedVector<WebSocketFrame>* frames,
176 // at this point, so |frames| can be freed.