Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / libjingle / xmllite / xmlprinter.h
1 /*
2  *  Copyright 2004 The WebRTC Project Authors. All rights reserved.
3  *
4  *  Use of this source code is governed by a BSD-style license
5  *  that can be found in the LICENSE file in the root of the source
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10
11 #ifndef WEBRTC_LIBJINGLE_XMLLITE_XMLPRINTER_H_
12 #define WEBRTC_LIBJINGLE_XMLLITE_XMLPRINTER_H_
13
14 #include <iosfwd>
15 #include <string>
16
17 namespace buzz {
18
19 class XmlElement;
20 class XmlnsStack;
21
22 class XmlPrinter {
23  public:
24   static void PrintXml(std::ostream* pout, const XmlElement* pelt);
25
26   static void PrintXml(std::ostream* pout, const XmlElement* pelt,
27                        XmlnsStack* ns_stack);
28 };
29
30 }  // namespace buzz
31
32 #endif  // WEBRTC_LIBJINGLE_XMLLITE_XMLPRINTER_H_