chromium/chrome/browser/media/router/discovery/mdns/dns_sd_registry.cc

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

#include "chrome/browser/media/router/discovery/mdns/dns_sd_registry.h"

#include <limits>
#include <utility>

#include "base/check.h"
#include "base/observer_list.h"
#include "base/ranges/algorithm.h"
#include "chrome/browser/local_discovery/service_discovery_shared_client.h"  // nogncheck
#include "chrome/browser/media/router/discovery/mdns/dns_sd_device_lister.h"
#include "chrome/common/buildflags.h"

namespace media_router {

DnsSdRegistry::ServiceTypeData::ServiceTypeData(
    std::unique_ptr<DnsSdDeviceLister> lister)
    :{}

DnsSdRegistry::ServiceTypeData::~ServiceTypeData() {}

void DnsSdRegistry::ServiceTypeData::ListenerAdded() {}

bool DnsSdRegistry::ServiceTypeData::ListenerRemoved() {}

int DnsSdRegistry::ServiceTypeData::GetListenerCount() {}

bool DnsSdRegistry::ServiceTypeData::UpdateService(
    bool added,
    const DnsSdService& service) {}

bool DnsSdRegistry::ServiceTypeData::RemoveService(
    const std::string& service_name) {}

void DnsSdRegistry::ServiceTypeData::ResetAndDiscover() {}

bool DnsSdRegistry::ServiceTypeData::ClearServices() {}

const DnsSdRegistry::DnsSdServiceList&
DnsSdRegistry::ServiceTypeData::GetServiceList() {}

DnsSdRegistry::DnsSdRegistry() {}

DnsSdRegistry::DnsSdRegistry(
    local_discovery::ServiceDiscoverySharedClient* client) {}

DnsSdRegistry::~DnsSdRegistry() {}

// static
DnsSdRegistry* DnsSdRegistry::GetInstance() {}

void DnsSdRegistry::AddObserver(DnsSdObserver* observer) {}

void DnsSdRegistry::RemoveObserver(DnsSdObserver* observer) {}

DnsSdDeviceLister* DnsSdRegistry::CreateDnsSdDeviceLister(
    DnsSdDelegate* delegate,
    const std::string& service_type,
    local_discovery::ServiceDiscoverySharedClient* discovery_client) {}

void DnsSdRegistry::Publish(const std::string& service_type) {}

void DnsSdRegistry::ResetAndDiscover() {}

void DnsSdRegistry::RegisterDnsSdListener(const std::string& service_type) {}

void DnsSdRegistry::UnregisterDnsSdListener(const std::string& service_type) {}

void DnsSdRegistry::ResetForTest() {}

void DnsSdRegistry::ServiceChanged(const std::string& service_type,
                                   bool added,
                                   const DnsSdService& service) {}

void DnsSdRegistry::ServiceRemoved(const std::string& service_type,
                                   const std::string& service_name) {}

void DnsSdRegistry::ServicesFlushed(const std::string& service_type) {}

void DnsSdRegistry::ServicesPermissionRejected() {}

void DnsSdRegistry::DispatchApiEvent(const std::string& service_type) {}

bool DnsSdRegistry::IsRegistered(const std::string& service_type) {}

}  // namespace media_router