chromium/services/data_decoder/public/cpp/safe_xml_parser.cc

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

#include "services/data_decoder/public/cpp/safe_xml_parser.h"

#include <string_view>

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/threading/thread_checker.h"
#include "base/values.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/data_decoder/public/mojom/xml_parser.mojom.h"

namespace data_decoder {

const base::Value::List* GetXmlElementChildren(const base::Value& element) {}

std::string GetXmlQualifiedName(const std::string& name_space,
                                const std::string& name) {}

bool IsXmlElementNamed(const base::Value& element, const std::string& name) {}

bool IsXmlElementOfType(const base::Value& element, const std::string& type) {}

bool GetXmlElementTagName(const base::Value& element, std::string* tag_name) {}

bool GetXmlElementText(const base::Value& element, std::string* text) {}

bool GetXmlElementNamespacePrefix(const base::Value& element,
                                  const std::string& namespace_uri,
                                  std::string* prefix) {}

int GetXmlElementChildrenCount(const base::Value& element,
                               const std::string& name) {}

const base::Value* GetXmlElementChildWithType(const base::Value& element,
                                              const std::string& type) {}

const base::Value* GetXmlElementChildWithTag(const base::Value& element,
                                             const std::string& tag) {}

bool GetAllXmlElementChildrenWithTag(
    const base::Value& element,
    const std::string& tag,
    std::vector<const base::Value*>* children_out) {}

const base::Value* FindXmlElementPath(
    const base::Value& element,
    std::initializer_list<std::string_view> path,
    bool* unique_path) {}

std::string GetXmlElementAttribute(const base::Value& element,
                                   const std::string& element_name) {}

}  // namespace data_decoder