chromium/device/bluetooth/floss/floss_admin_client.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/bluetooth/floss/floss_admin_client.h"

namespace floss {
PolicyEffect::PolicyEffect() = default;

PolicyEffect::PolicyEffect(const PolicyEffect&) = default;

PolicyEffect::~PolicyEffect() = default;

// Template specializations for dbus parsing
template <>
bool FlossDBusClient::ReadDBusParam(dbus::MessageReader* reader,
                                    PolicyEffect* effect) {}

template <>
const DBusTypeInfo& GetDBusTypeInfo(const PolicyEffect*) {}

std::unique_ptr<FlossAdminClient> FlossAdminClient::Create() {}

constexpr char FlossAdminClient::kExportedCallbacksPath[] ="/org/chromium/bluetooth/admin/callback/lacros";
#else
    "/org/chromium/bluetooth/admin/callback";
#endif

FlossAdminClient::FlossAdminClient() = default;
FlossAdminClient::~FlossAdminClient() {}

void FlossAdminClient::OnMethodsExported() {}

void FlossAdminClient::HandleCallbackRegistered(DBusResult<uint32_t> result) {}

void FlossAdminClient::HandleCallbackUnregistered(DBusResult<bool> result) {}

void FlossAdminClient::HandleGetAllowedServices(
    ResponseCallback<std::vector<device::BluetoothUUID>> callback,
    DBusResult<std::vector<std::vector<uint8_t>>> result) {}

void FlossAdminClient::Init(dbus::Bus* bus,
                            const std::string& service_name,
                            const int adapter_index,
                            base::Version version,
                            base::OnceClosure on_ready) {}

void FlossAdminClient::AddObserver(FlossAdminClientObserver* observer) {}

void FlossAdminClient::RemoveObserver(FlossAdminClientObserver* observer) {}

bool FlossAdminClient::IsClientRegistered() {}

void FlossAdminClient::SetAllowedServices(
    ResponseCallback<Void> callback,
    const std::vector<device::BluetoothUUID>& UUIDs) {}

void FlossAdminClient::GetAllowedServices(
    ResponseCallback<std::vector<device::BluetoothUUID>> callback) {}

void FlossAdminClient::GetDevicePolicyEffect(
    ResponseCallback<PolicyEffect> callback,
    FlossDeviceId device) {}

void FlossAdminClient::OnServiceAllowlistChanged(
    const std::vector<std::vector<uint8_t>>& allowlist) {}

void FlossAdminClient::OnDevicePolicyEffectChanged(
    const FlossDeviceId& device_id,
    const std::optional<PolicyEffect>& effect) {}
}  // namespace floss