chromium/dbus/dbus_result.h

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

#ifndef DBUS_DBUS_RESULT_H_
#define DBUS_DBUS_RESULT_H_

#include "base/functional/callback.h"
#include "dbus/dbus_export.h"
#include "dbus/message.h"

namespace dbus {

// These values are persisted to logs. Entries should not be renumbered and
// numeric values should never be reused.
enum class DBusResult {};

CHROME_DBUS_EXPORT DBusResult GetResult(dbus::ErrorResponse* response);

}  // namespace dbus

#endif  // DBUS_DBUS_RESULT_H_