blob: bde86576cbf9d84c9354ae9275bb3733877fbedc [file] [log] [blame]
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
namespace buzz {
class XmlElement;
namespace notifier {
std::string XmlElementToString(const buzz::XmlElement& xml_element);
// The functions below are helpful for building notifications-related
// XML stanzas.
buzz::XmlElement* MakeBoolXmlElement(const char* name, bool value);
buzz::XmlElement* MakeIntXmlElement(const char* name, int value);
buzz::XmlElement* MakeStringXmlElement(const char* name, const char* value);
} // namespace notifier