1 // Copyright 2020 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef DISCOVERY_PUBLIC_DNS_SD_SERVICE_FACTORY_H_ 6 #define DISCOVERY_PUBLIC_DNS_SD_SERVICE_FACTORY_H_ 7 8 #include "discovery/dnssd/public/dns_sd_service.h" 9 #include "platform/api/serial_delete_ptr.h" 10 11 namespace openscreen { 12 13 class TaskRunner; 14 15 namespace discovery { 16 17 struct Config; 18 class ReportingClient; 19 20 SerialDeletePtr<DnsSdService> CreateDnsSdService( 21 TaskRunner* task_runner, 22 ReportingClient* reporting_client, 23 const Config& config); 24 25 } // namespace discovery 26 } // namespace openscreen 27 28 #endif // DISCOVERY_PUBLIC_DNS_SD_SERVICE_FACTORY_H_ 29