#include "chrome/browser/media/router/discovery/dial/dial_media_sink_service.h"
#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
#include "chrome/browser/media/router/discovery/dial/dial_media_sink_service_impl.h"
#include "components/media_router/common/media_source.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
namespace media_router {
DialMediaSinkService::DialMediaSinkService()
: … { … }
DialMediaSinkService::~DialMediaSinkService() { … }
void DialMediaSinkService::Initialize(
const OnSinksDiscoveredCallback& sink_discovery_cb) { … }
void DialMediaSinkService::StartDiscovery() { … }
void DialMediaSinkService::DiscoverSinksNow() { … }
std::unique_ptr<DialMediaSinkServiceImpl, base::OnTaskRunnerDeleter>
DialMediaSinkService::CreateImpl(
const OnSinksDiscoveredCallback& sink_discovery_cb) { … }
void DialMediaSinkService::RunSinksDiscoveredCallback(
const OnSinksDiscoveredCallback& sinks_discovered_cb,
std::vector<MediaSinkInternal> sinks) { … }
}