Home
last modified time | relevance | path

Searched refs:WebSocketExtension (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/net/websockets/
Dwebsocket_extension.cc13 WebSocketExtension::Parameter::Parameter(const std::string& name) in Parameter()
16 WebSocketExtension::Parameter::Parameter(const std::string& name, in Parameter()
22 bool WebSocketExtension::Parameter::Equals(const Parameter& other) const { in Equals()
26 WebSocketExtension::WebSocketExtension() {} in WebSocketExtension() function in net::WebSocketExtension
28 WebSocketExtension::WebSocketExtension(const std::string& name) in WebSocketExtension() function in net::WebSocketExtension
31 WebSocketExtension::~WebSocketExtension() {} in ~WebSocketExtension()
33 bool WebSocketExtension::Equals(const WebSocketExtension& other) const { in Equals()
Dwebsocket_extension_parser_test.cc25 WebSocketExtension expected("foo"); in TEST()
35 WebSocketExtension expected("foo"); in TEST()
36 expected.Add(WebSocketExtension::Parameter("bar")); in TEST()
46 WebSocketExtension expected("foo"); in TEST()
47 expected.Add(WebSocketExtension::Parameter("bar", "baz")); in TEST()
57 WebSocketExtension expected("foo"); in TEST()
58 expected.Add(WebSocketExtension::Parameter("bar", "baz")); in TEST()
59 expected.Add(WebSocketExtension::Parameter("hoge", "fuga")); in TEST()
111 WebSocketExtension expected("foo"); in TEST()
112 expected.Add(WebSocketExtension::Parameter("bar", "baz")); in TEST()
Dwebsocket_extension.h17 class NET_EXPORT_PRIVATE WebSocketExtension {
39 WebSocketExtension();
40 explicit WebSocketExtension(const std::string& name);
41 ~WebSocketExtension();
46 bool Equals(const WebSocketExtension& other) const;
Dwebsocket_extension_parser.h33 const WebSocketExtension& extension() const { return extension_; } in extension()
37 void ConsumeExtension(WebSocketExtension* extension);
38 void ConsumeExtensionParameter(WebSocketExtension::Parameter* parameter);
52 WebSocketExtension extension_;
Dwebsocket_extension_parser.cc37 void WebSocketExtensionParser::ConsumeExtension(WebSocketExtension* extension) { in ConsumeExtension()
42 *extension = WebSocketExtension(name.as_string()); in ConsumeExtension()
45 WebSocketExtension::Parameter parameter((std::string())); in ConsumeExtension()
53 WebSocketExtension::Parameter* parameter) { in ConsumeExtensionParameter()
61 *parameter = WebSocketExtension::Parameter(name.as_string()); in ConsumeExtensionParameter()
72 *parameter = WebSocketExtension::Parameter(name.as_string(), value_string); in ConsumeExtensionParameter()
Dwebsocket_basic_handshake_stream.cc236 bool ValidatePerMessageDeflateExtension(const WebSocketExtension& extension, in ValidatePerMessageDeflateExtension()
246 typedef std::vector<WebSocketExtension::Parameter> ParameterVector; in ValidatePerMessageDeflateExtension()