blob: cae4a341ec7c6e81af56d8469884f74f4bdeea47 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "osp/public/mdns_service_listener_factory.h"
#include "osp/impl/internal_services.h"
namespace openscreen {
class TaskRunner;
namespace osp {
// static
std::unique_ptr<ServiceListener> MdnsServiceListenerFactory::Create(
const MdnsServiceListenerConfig& config,
ServiceListener::Observer* observer,
TaskRunner* task_runner) {
return InternalServices::CreateListener(config, observer, task_runner);
}
} // namespace osp
} // namespace openscreen