1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef JINGLE_NOTIFIER_LISTENER_XML_ELEMENT_UTIL_H_
6 #define JINGLE_NOTIFIER_LISTENER_XML_ELEMENT_UTIL_H_
16 std::string XmlElementToString(const buzz::XmlElement& xml_element);
18 // The functions below are helpful for building notifications-related
21 buzz::XmlElement* MakeBoolXmlElement(const char* name, bool value);
23 buzz::XmlElement* MakeIntXmlElement(const char* name, int value);
25 buzz::XmlElement* MakeStringXmlElement(const char* name, const char* value);
27 } // namespace notifier
29 #endif // JINGLE_NOTIFIER_LISTENER_XML_ELEMENT_UTIL_H_