1 This directory contains files related to Chromium's WebSocket 2 implementation. See http://www.websocket.org/ for an explanation of WebSockets. 3 4 As of April 2013, the contents of this directory are in a transitional state, 5 and contain parts of two different WebSocket implementations. 6 7 The following files are part of the legacy implementation. The legacy 8 implementation performs WebSocket framing within Blink and presents a 9 low-level socket-like interface to the renderer process. It is described in the 10 design doc at 11 https://docs.google.com/a/google.com/document/d/1_R6YjCIrm4kikJ3YeapcOU2Keqr3lVUPd-OeaIJ93qQ/preview 12 13 websocket_handshake_handler_test.cc 14 websocket_handshake_handler_spdy_test.cc 15 websocket_job.cc 16 websocket_job.h 17 websocket_job_test.cc 18 websocket_net_log_params.cc 19 websocket_net_log_params.h 20 websocket_net_log_params_test.cc 21 websocket_throttle.cc 22 websocket_throttle.h 23 websocket_throttle_test.cc 24 25 The following files are part of the new implementation. The new implementation 26 performs framing and implements protocol semantics in the browser process, and 27 presents a high-level interface to the renderer process similar to a 28 multiplexing proxy. This is the default implementation from M38. 29 30 websocket_basic_handshake_stream.cc 31 websocket_basic_handshake_stream.h 32 websocket_basic_stream.cc 33 websocket_basic_stream.h 34 websocket_basic_stream_test.cc 35 websocket_channel.cc 36 websocket_channel.h 37 websocket_channel_test.cc 38 websocket_deflate_predictor.h 39 websocket_deflate_predictor_impl.cc 40 websocket_deflate_predictor_impl.h 41 websocket_deflate_predictor_impl_test.cc 42 websocket_deflate_stream.cc 43 websocket_deflate_stream.h 44 websocket_deflate_stream_test.cc 45 websocket_deflater.cc 46 websocket_deflater.h 47 websocket_deflater_test.cc 48 websocket_errors.cc 49 websocket_errors.h 50 websocket_errors_test.cc 51 websocket_event_interface.h 52 websocket_extension.cc 53 websocket_extension.h 54 websocket_extension_parser.cc 55 websocket_extension_parser.h 56 websocket_extension_parser_test.cc 57 websocket_frame.cc 58 websocket_frame.h 59 websocket_frame_parser.cc 60 websocket_frame_parser.h 61 websocket_frame_parser_test.cc 62 websocket_frame_test.cc 63 websocket_frame_perftest.cc 64 websocket_handshake_stream_base.h 65 websocket_handshake_stream_create_helper.cc 66 websocket_handshake_stream_create_helper.h 67 websocket_handshake_stream_create_helper_test.cc 68 websocket_handshake_request_info.cc 69 websocket_handshake_request_info.h 70 websocket_handshake_response_info.cc 71 websocket_handshake_response_info.h 72 websocket_inflater.cc 73 websocket_inflater.h 74 websocket_inflater_test.cc 75 websocket_mux.h 76 websocket_stream.cc 77 websocket_stream.h 78 websocket_stream_test.cc 79 websocket_test_util.cc 80 websocket_test_util.h 81 82 These files are shared between the old and new implementations. 83 84 websocket_handshake_constants.cc 85 websocket_handshake_constants.h 86 websocket_handshake_handler.cc 87 websocket_handshake_handler.h 88 89 A pre-submit check helps us keep this README file up-to-date: 90 91 PRESUBMIT.py 92