| // 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 |