Home | History | Annotate | Download | only in notification

Lines Matching refs:stanza

23 // Builds an XML stanza that looks like this:
90 bool IqStanzaHandler::HandleIqStanza(std::unique_ptr<XmlNode> stanza) {
92 if (!stanza->GetAttribute("type", &type)) {
93 LOG(ERROR) << "IQ stanza missing 'type' attribute";
98 if (!stanza->GetAttribute("id", &id_str)) {
99 LOG(ERROR) << "IQ stanza missing 'id' attribute";
108 LOG(ERROR) << "IQ stanza's 'id' attribute is invalid";
114 FROM_HERE, base::Bind(p->second, base::Passed(std::move(stanza))),
126 BuildIqStanza(id_str, "error", stanza->GetAttributeOrEmpty("from"),
127 stanza->GetAttributeOrEmpty("to"), error_body);