chromium/third_party/libxml/chromium/xml_writer.h

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_LIBXML_CHROMIUM_XML_WRITER_H_
#define THIRD_PARTY_LIBXML_CHROMIUM_XML_WRITER_H_

#include <string>

extern "C" {
struct _xmlBuffer;
struct _xmlTextWriter;
}

// XmlWriter is a wrapper class around libxml's xmlWriter,
// providing a simplified C++ API.
// StartWriting must be called before other methods, and StopWriting
// must be called before GetWrittenString() will return results.
class XmlWriter {};

#endif  // THIRD_PARTY_LIBXML_CHROMIUM_XML_WRITER_H_