/external/chromium/net/websockets/ |
D | websocket_handshake_unittest.cc | 21 static void SetUpParameter(WebSocketHandshake* handshake, in SetUpParameter() 25 WebSocketHandshake::Parameter* parameter = in SetUpParameter() 26 new WebSocketHandshake::Parameter; in SetUpParameter() 97 static std::string GetResourceName(WebSocketHandshake* handshake) { in GetResourceName() 100 static std::string GetHostFieldValue(WebSocketHandshake* handshake) { in GetHostFieldValue() 103 static std::string GetOriginFieldValue(WebSocketHandshake* handshake) { in GetOriginFieldValue() 122 scoped_ptr<WebSocketHandshake> handshake( in TEST_F() 123 new WebSocketHandshake(GURL("ws://example.com/demo"), in TEST_F() 131 EXPECT_EQ(WebSocketHandshake::MODE_INCOMPLETE, handshake->mode()); in TEST_F() 147 EXPECT_EQ(WebSocketHandshake::MODE_INCOMPLETE, handshake->mode()); in TEST_F() [all …]
|
D | websocket_handshake.cc | 22 const int WebSocketHandshake::kWebSocketPort = 80; 23 const int WebSocketHandshake::kSecureWebSocketPort = 443; 25 WebSocketHandshake::WebSocketHandshake( in WebSocketHandshake() function in net::WebSocketHandshake 37 WebSocketHandshake::~WebSocketHandshake() { in ~WebSocketHandshake() 40 bool WebSocketHandshake::is_secure() const { in is_secure() 44 std::string WebSocketHandshake::CreateClientHandshakeMessage() { in CreateClientHandshakeMessage() 85 int WebSocketHandshake::ReadServerHandshake(const char* data, size_t len) { in ReadServerHandshake() 119 std::string WebSocketHandshake::GetResourceName() const { in GetResourceName() 128 std::string WebSocketHandshake::GetHostFieldValue() const { in GetHostFieldValue() 145 std::string WebSocketHandshake::GetOriginFieldValue() const { in GetOriginFieldValue() [all …]
|
D | websocket_handshake_draft75_unittest.cc | 31 EXPECT_EQ(WebSocketHandshake::MODE_INCOMPLETE, handshake->mode()); in TEST() 43 EXPECT_EQ(WebSocketHandshake::MODE_INCOMPLETE, handshake->mode()); in TEST() 46 EXPECT_EQ(WebSocketHandshake::MODE_INCOMPLETE, handshake->mode()); in TEST() 51 EXPECT_EQ(WebSocketHandshake::MODE_NORMAL, handshake->mode()); in TEST() 57 EXPECT_EQ(WebSocketHandshake::MODE_NORMAL, handshake->mode()); in TEST() 64 EXPECT_EQ(WebSocketHandshake::MODE_NORMAL, handshake->mode()); in TEST() 68 EXPECT_EQ(WebSocketHandshake::MODE_NORMAL, handshake->mode()); in TEST() 73 EXPECT_EQ(WebSocketHandshake::MODE_CONNECTED, handshake->mode()); in TEST() 90 EXPECT_EQ(WebSocketHandshake::MODE_INCOMPLETE, handshake->mode()); in TEST() 106 EXPECT_EQ(WebSocketHandshake::MODE_CONNECTED, handshake->mode()); in TEST()
|
D | websocket_handshake.h | 19 class WebSocketHandshake { 27 WebSocketHandshake(const GURL& url, 31 virtual ~WebSocketHandshake(); 113 DISALLOW_COPY_AND_ASSIGN(WebSocketHandshake);
|
D | websocket.h | 33 class WebSocketHandshake; variable 193 scoped_ptr<WebSocketHandshake> handshake_;
|
D | websocket_handshake_draft75.h | 19 class WebSocketHandshakeDraft75 : public WebSocketHandshake {
|
D | websocket_handshake_draft75.cc | 34 : WebSocketHandshake(url, origin, location, protocol) { in WebSocketHandshakeDraft75()
|
D | websocket.cc | 159 handshake_.reset(new WebSocketHandshake( in OnConnected() 268 if (handshake_->mode() != WebSocketHandshake::MODE_CONNECTED) { in DoReceivedData()
|
/external/webkit/Source/WebCore/websockets/ |
D | WebSocketHandshake.cpp | 163 WebSocketHandshake::WebSocketHandshake(const KURL& url, const String& protocol, ScriptExecutionCont… in WebSocketHandshake() function in WebCore::WebSocketHandshake 178 WebSocketHandshake::~WebSocketHandshake() in ~WebSocketHandshake() 182 const KURL& WebSocketHandshake::url() const in url() 187 void WebSocketHandshake::setURL(const KURL& url) in setURL() 192 const String WebSocketHandshake::host() const in host() 197 const String& WebSocketHandshake::clientProtocol() const in clientProtocol() 202 void WebSocketHandshake::setClientProtocol(const String& protocol) in setClientProtocol() 207 bool WebSocketHandshake::secure() const in secure() 212 String WebSocketHandshake::clientOrigin() const in clientOrigin() 217 String WebSocketHandshake::clientLocation() const in clientLocation() [all …]
|
D | WebSocketHandshake.h | 45 class WebSocketHandshake { 46 WTF_MAKE_NONCOPYABLE(WebSocketHandshake); 51 WebSocketHandshake(const KURL&, const String& protocol, ScriptExecutionContext*); 52 ~WebSocketHandshake();
|
D | WebSocketChannel.cpp | 277 if (m_handshake.mode() == WebSocketHandshake::Incomplete) { in processBuffer() 281 if (m_handshake.mode() == WebSocketHandshake::Connected) { in processBuffer() 307 if (m_handshake.mode() != WebSocketHandshake::Connected) in processBuffer()
|
D | WebSocketChannel.h | 90 WebSocketHandshake m_handshake;
|
/external/webkit/Source/WebCore/ |
D | WebCore.pro | 3430 websockets/WebSocketHandshake.h \ 3438 websockets/WebSocketHandshake.cpp \
|
D | ChangeLog-2010-05-24 | 1763 * websockets/WebSocketHandshake.cpp: 1771 (WebCore::WebSocketHandshake::WebSocketHandshake): 1773 (WebCore::WebSocketHandshake::clientLocation): 1775 (WebCore::WebSocketHandshake::clientHandshakeMessage): 1777 (WebCore::WebSocketHandshake::clientHandshakeRequest): 1778 (WebCore::WebSocketHandshake::readServerHandshake): 1781 (WebCore::WebSocketHandshake::readHTTPHeaders): 1783 (WebCore::WebSocketHandshake::processHeaders): 1785 (WebCore::WebSocketHandshake::checkResponseHeaders): 1787 * websockets/WebSocketHandshake.h: [all …]
|
D | CMakeLists.txt | 1355 websockets/WebSocketHandshake.cpp
|
D | GNUmakefile.list.am | 3561 Source/WebCore/websockets/WebSocketHandshake.cpp \ 3562 Source/WebCore/websockets/WebSocketHandshake.h \
|
D | GNUmakefile.am | 3538 Source/WebCore/websockets/WebSocketHandshake.cpp \ 3539 Source/WebCore/websockets/WebSocketHandshake.h \
|
D | ChangeLog-2011-02-16 | 13316 * websockets/WebSocketHandshake.cpp: 21827 * websockets/WebSocketHandshake.cpp: 21828 (WebCore::WebSocketHandshake::readServerHandshake): 21829 (WebCore::WebSocketHandshake::readStatusLine): 21830 (WebCore::WebSocketHandshake::readHTTPHeaders): 21831 (WebCore::WebSocketHandshake::checkResponseHeaders): 29074 * websockets/WebSocketHandshake.cpp: 29075 (WebCore::WebSocketHandshake::readStatusLine): 42261 * websockets/WebSocketHandshake.cpp: 42262 (WebCore::WebSocketHandshake::readServerHandshake): [all …]
|
D | ChangeLog | 54039 * websockets/WebSocketHandshake.h: Removed unused and meaningless setters for response 54043 * websockets/WebSocketHandshake.cpp: 54044 (WebCore::WebSocketHandshake::reset): There are no longer member variables for header field 54046 (WebCore::WebSocketHandshake::readServerHandshake): Removed a call for processHeaders(). 54047 … (WebCore::WebSocketHandshake::serverWebSocketOrigin): Changed to get the value from response. 54048 (WebCore::WebSocketHandshake::serverWebSocketLocation): Ditto. 54049 (WebCore::WebSocketHandshake::serverWebSocketProtocol): Ditto. 54050 (WebCore::WebSocketHandshake::serverSetCookie): Ditto. 54051 (WebCore::WebSocketHandshake::serverSetCookie2): Ditto. 54052 (WebCore::WebSocketHandshake::serverUpgrade): Added. [all …]
|
D | WebCore.gypi | 5955 'websockets/WebSocketHandshake.cpp', 5956 'websockets/WebSocketHandshake.h',
|
D | ChangeLog-2010-01-29 | 4626 …* websockets/WebSocketHandshake.cpp: (WebCore::WebSocketHandshake::httpURLForAuthenticationAndCook… 6240 * websockets/WebSocketHandshake.cpp: 14292 * websockets/WebSocketHandshake.h: 20339 Update m_mode in WebSocketHandshake correctly: Once it finds 20347 * websockets/WebSocketHandshake.cpp: 20348 (WebCore::WebSocketHandshake::readServerHandshake): 22980 * websockets/WebSocketHandshake.cpp: 22981 (WebCore::WebSocketHandshake::readServerHandshake): 22982 (WebCore::WebSocketHandshake::readHTTPHeaders): 22983 (WebCore::WebSocketHandshake::checkResponseHeaders): [all …]
|
D | ChangeLog-2010-12-06 | 33150 * websockets/WebSocketHandshake.cpp: 33151 (WebCore::WebSocketHandshake::readServerHandshake): 34905 … * websockets/WebSocketHandshake.cpp: Ditto (+ use append(const UChar) for single characters). 81757 * websockets/WebSocketHandshake.cpp: 110183 * websockets/WebSocketHandshake.cpp: 115883 * websockets/WebSocketHandshake.cpp: 115885 (WebCore::WebSocketHandshake::readServerHandshake): 115886 (WebCore::WebSocketHandshake::serverHandshakeResponse): 115887 (WebCore::WebSocketHandshake::readStatusLine): Moved from extractResponseCode. 115889 (WebCore::WebSocketHandshake::readHTTPHeaders): [all …]
|
/external/webkit/Source/WebCore/WebCore.xcodeproj/ |
D | project.pbxproj | 1380 …43AB4A008C5260 /* WebSocketHandshake.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 51ABAE4210… 1381 …043AB4A008C5260 /* WebSocketHandshake.h in Headers */ = {isa = PBXBuildFile; fileRef = 51ABAE43104… 7960 …5260 /* WebSocketHandshake.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =… 7961 …08C5260 /* WebSocketHandshake.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 13989 51ABAE421043AB4A008C5260 /* WebSocketHandshake.cpp */, 13990 51ABAE431043AB4A008C5260 /* WebSocketHandshake.h */, 22897 51ABAE451043AB4A008C5260 /* WebSocketHandshake.h in Headers */, 25612 51ABAE441043AB4A008C5260 /* WebSocketHandshake.cpp in Sources */,
|