chromium/chrome/browser/local_discovery/service_discovery_client_mdns.h

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MDNS_H_
#define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MDNS_H_

#include <memory>
#include <string>

#include "base/observer_list.h"
#include "base/task/sequenced_task_runner.h"
#include "chrome/browser/local_discovery/service_discovery_client.h"
#include "chrome/browser/local_discovery/service_discovery_shared_client.h"
#include "net/dns/mdns_client.h"
#include "services/network/public/cpp/network_connection_tracker.h"

namespace local_discovery {

// Implementation of ServiceDiscoverySharedClient with the front-end on the
// UI thread and the networking code on the IO thread.
class ServiceDiscoveryClientMdns
    : public ServiceDiscoverySharedClient,
      public network::NetworkConnectionTracker::NetworkConnectionObserver {};

}  // namespace local_discovery

#endif  // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MDNS_H_