Remove unneeded WebSocket flags
Remove command-line flags --websocket-read-buffer-size and --websocket-renderer-receive-quota-max which are no longer needed as the performance investigation has finished. Also replace the kReceiveQuotaThreshold constant in websocket_channel.cc with a kReceiveDataPipeCapacity constant in websocket.cc, which better reflects its current usage. Change the types of kReadBufferSize and kReceiveDataPipeCapacity to reflect the types at the points where they are used. Also mark WebSocketBasicStream as final, as its destructor calls the Close() virtual method and it would not behave correctly in a subclass. Also change some constants from "const" to "constexpr". BUG=865001 Change-Id: I761bd08de534ef27a77a9523c86ea6f1a61b9266 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2383396Reviewed-by:Yoichi Osato <yoichio@chromium.org> Reviewed-by:
Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#803308}
Showing
Please register or sign in to comment