aboutsummaryrefslogtreecommitdiff
path: root/osp/impl/mdns_service_publisher_factory.cc
blob: f055e772afb007de40ee07509e5fd732e2d783b9 (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_publisher_factory.h"

#include "osp/impl/internal_services.h"

namespace openscreen {

class TaskRunner;

namespace osp {

// static
std::unique_ptr<ServicePublisher> MdnsServicePublisherFactory::Create(
    const ServicePublisher::Config& config,
    ServicePublisher::Observer* observer,
    TaskRunner* task_runner) {
  return InternalServices::CreatePublisher(config, observer, task_runner);
}

}  // namespace osp
}  // namespace openscreen