Skip to content
  • ukai@chromium.org's avatar
    2010-03-03 Yuta Kitamura <yutak@chromium.org> · d60141d7
    ukai@chromium.org authored
            Reviewed by Alexey Proskuryakov.
    
            Add a new class that stores information about Web Socket handshake request.
    
            Instances of this class contain the necessary information to send a Web Socket
            handshake request. In the future, this class will provide request information
            to the Web Inspector.
    
            WebSocketHandshake needs to provide request information
            https://bugs.webkit.org/show_bug.cgi?id=34784
    
            No new tests, since the current tests will suffice (LayoutTests/websocket/*).
    
            * GNUmakefile.am:
            * WebCore.gypi:
            * WebCore.pro:
            * WebCore.vcproj/WebCore.vcproj:
            * WebCore.xcodeproj/project.pbxproj:
            * websockets/WebSocketChannel.cpp:
            * websockets/WebSocketHandshake.cpp:
            (WebCore::WebSocketHandshake::clientHandshakeMessage):
            (WebCore::WebSocketHandshake::clientHandshakeRequest):
            * websockets/WebSocketHandshake.h:
            * websockets/WebSocketHandshakeRequest.cpp: Added.
            (WebCore::WebSocketHandshakeRequest::WebSocketHandshakeRequest):
            (WebCore::WebSocketHandshakeRequest::~WebSocketHandshakeRequest):
            (WebCore::WebSocketHandshakeRequest::addExtraHeaderField):
            (WebCore::WebSocketHandshakeRequest::headerFields):
            (WebCore::WebSocketHandshakeRequest::host):
            * websockets/WebSocketHandshakeRequest.h: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d60141d7