chromium/dbus/values_util.cc

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

#include "dbus/values_util.h"

#include <memory>
#include <utility>

#include "base/json/json_writer.h"
#include "base/logging.h"
#include "base/memory/raw_ptr.h"
#include "base/notreached.h"
#include "base/values.h"
#include "dbus/message.h"

namespace dbus {

namespace {

// Returns whether |value| is exactly representable by double or not.
template <typename T>
bool IsExactlyRepresentableByDouble(T value) {}

// Pops values from |reader| and appends them to |list_value|.
bool PopListElements(MessageReader* reader, base::Value::List& list_value) {}

// Pops dict-entries from |reader| and sets them to |dictionary_value|
bool PopDictionaryEntries(MessageReader* reader,
                          base::Value::Dict& dictionary_value) {}

// Gets the D-Bus type signature for the value.
std::string GetTypeSignature(base::ValueView value) {}

}  // namespace

base::Value PopDataAsValue(MessageReader* reader) {}

void AppendBasicTypeValueData(MessageWriter* writer, base::ValueView value) {}

void AppendBasicTypeValueDataAsVariant(MessageWriter* writer,
                                       base::ValueView value) {}

void AppendValueData(MessageWriter* writer, base::ValueView value) {}

void AppendValueDataAsVariant(MessageWriter* writer, base::ValueView value) {}

}  // namespace dbus