Searched refs:extensionToken (Results 1 – 7 of 7) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
D | WebSocketExtensionDispatcher.cpp | 52 if (m_processors[i]->extensionToken() == processor->extensionToken()) in addProcessor() 76 void WebSocketExtensionDispatcher::appendAcceptedExtension(const String& extensionToken, HashMap<St… in appendAcceptedExtension() argument 80 m_acceptedExtensionsBuilder.append(extensionToken); in appendAcceptedExtension() 112 String extensionToken; in processHeaderValue() local 114 if (!parser.parseExtension(extensionToken, extensionParameters)) { in processHeaderValue() 122 if (extensionToken == processor->extensionToken()) { in processHeaderValue() 124 appendAcceptedExtension(extensionToken, extensionParameters); in processHeaderValue() 127 fail("Error in " + extensionToken + ": " + processor->failureReason()); in processHeaderValue() 133 …fail("Found an unsupported extension '" + extensionToken + "' in 'Sec-WebSocket-Extensions' header… in processHeaderValue()
|
D | WebSocketExtensionDispatcherTest.cpp | 48 virtual String handshakeString() OVERRIDE { return extensionToken(); } in handshakeString() 63 void addMockProcessor(const String& extensionToken) in addMockProcessor() argument 65 … m_extensions.addProcessor(adoptPtr(new MockWebSocketExtensionProcessor(extensionToken, this))); in addMockProcessor() 69 void appendResult(const String& extensionToken, const HashMap<String, String>& parameters) in appendResult() argument 71 m_parsedExtensionTokens.append(extensionToken); in appendResult() 83 m_test->appendResult(extensionToken(), parameters); in processResponse()
|
D | WebSocketExtensionProcessor.h | 43 String extensionToken() const { return m_extensionToken; } in extensionToken() function 59 explicit WebSocketExtensionProcessor(const String& extensionToken) in WebSocketExtensionProcessor() argument 60 : m_extensionToken(extensionToken) in WebSocketExtensionProcessor()
|
D | WebSocketExtensionParser.cpp | 131 bool WebSocketExtensionParser::parseExtension(String& extensionToken, HashMap<String, String>& exte… in parseExtension() argument 138 extensionToken = currentToken(); in parseExtension()
|
D | WebSocketExtensionDispatcher.h | 56 …void appendAcceptedExtension(const String& extensionToken, HashMap<String, String>& extensionParam…
|
D | WebSocketExtensionParser.h | 49 bool parseExtension(String& extensionToken, HashMap<String, String>& parameters);
|
D | WebSocketDeflateFramer.cpp | 73 return extensionToken(); // No parameter in handshakeString()
|