Searched refs:WebSocketExtension (Results 1 – 6 of 6) sorted by relevance
13 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::WebSocketExtension28 WebSocketExtension::WebSocketExtension(const std::string& name) in WebSocketExtension() function in net::WebSocketExtension31 WebSocketExtension::~WebSocketExtension() {} in ~WebSocketExtension()33 bool WebSocketExtension::Equals(const WebSocketExtension& other) const { in Equals()
25 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()
17 class NET_EXPORT_PRIVATE WebSocketExtension {39 WebSocketExtension();40 explicit WebSocketExtension(const std::string& name);41 ~WebSocketExtension();46 bool Equals(const WebSocketExtension& other) const;
33 const WebSocketExtension& extension() const { return extension_; } in extension()37 void ConsumeExtension(WebSocketExtension* extension);38 void ConsumeExtensionParameter(WebSocketExtension::Parameter* parameter);52 WebSocketExtension extension_;
37 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()
236 bool ValidatePerMessageDeflateExtension(const WebSocketExtension& extension, in ValidatePerMessageDeflateExtension()246 typedef std::vector<WebSocketExtension::Parameter> ParameterVector; in ValidatePerMessageDeflateExtension()