Home
last modified time | relevance | path

Searched refs:extensionToken (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketExtensionDispatcher.cpp52 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()
DWebSocketExtensionDispatcherTest.cpp48 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()
DWebSocketExtensionProcessor.h43 String extensionToken() const { return m_extensionToken; } in extensionToken() function
59 explicit WebSocketExtensionProcessor(const String& extensionToken) in WebSocketExtensionProcessor() argument
60 : m_extensionToken(extensionToken) in WebSocketExtensionProcessor()
DWebSocketExtensionParser.cpp131 bool WebSocketExtensionParser::parseExtension(String& extensionToken, HashMap<String, String>& exte… in parseExtension() argument
138 extensionToken = currentToken(); in parseExtension()
DWebSocketExtensionDispatcher.h56 …void appendAcceptedExtension(const String& extensionToken, HashMap<String, String>& extensionParam…
DWebSocketExtensionParser.h49 bool parseExtension(String& extensionToken, HashMap<String, String>& parameters);
DWebSocketDeflateFramer.cpp73 return extensionToken(); // No parameter in handshakeString()