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