Index: net/websockets/websocket_stream.h |
diff --git a/net/websockets/websocket_stream.h b/net/websockets/websocket_stream.h |
index a35eefa4b603f35ddb9b48e3e58285304bbcafbd..bcc84164d2b4b584e46f7a8ec5dc2c171bf0626b 100644 |
--- a/net/websockets/websocket_stream.h |
+++ b/net/websockets/websocket_stream.h |
@@ -134,6 +134,10 @@ class NET_EXPORT_PRIVATE WebSocketStream { |
// calling callback.Run() (and any calling methods in the same object) must |
// return immediately without any further method calls or access to member |
// variables. Implementors should write test(s) for this case. |
+ // |
+ // Extensions which use reserved header bits should clear them when they are |
+ // set correctly. If the reserved header bits are set incorrectly, it is okay |
+ // to leave it to the caller to report the error. |
virtual int ReadFrames(ScopedVector<WebSocketFrame>* frames, |
const CompletionCallback& callback) = 0; |