aboutsummaryrefslogtreecommitdiff
path: root/osp/impl/mdns_service_listener_factory.cc
blob: cae4a341ec7c6e81af56d8469884f74f4bdeea47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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