Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1645)

Unified Diff: chrome/browser/local_discovery/service_discovery_client_mdns.h

Issue 251023005: Renamed ServiceDiscoveryClientMdns to ServiceDiscoveryClientUtility. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sat 04/26/2014 18:41:53.09 Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/local_discovery/service_discovery_client_mdns.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/service_discovery_client_mdns.h
diff --git a/chrome/browser/local_discovery/service_discovery_client_mdns.h b/chrome/browser/local_discovery/service_discovery_client_mdns.h
deleted file mode 100644
index 2a3854a586ea8b5f44a047a189511d9e3579ad24..0000000000000000000000000000000000000000
--- a/chrome/browser/local_discovery/service_discovery_client_mdns.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MDNS_H_
-#define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MDNS_H_
-
-#include <string>
-
-#include "base/cancelable_callback.h"
-#include "chrome/browser/local_discovery/service_discovery_shared_client.h"
-#include "chrome/common/local_discovery/service_discovery_client.h"
-#include "net/base/network_change_notifier.h"
-
-namespace local_discovery {
-
-class ServiceDiscoveryHostClient;
-
-class ServiceDiscoveryClientMdns
- : public ServiceDiscoverySharedClient,
- public net::NetworkChangeNotifier::NetworkChangeObserver {
- public:
- ServiceDiscoveryClientMdns();
-
- // ServiceDiscoveryClient implementation.
- virtual scoped_ptr<ServiceWatcher> CreateServiceWatcher(
- const std::string& service_type,
- const ServiceWatcher::UpdatedCallback& callback) OVERRIDE;
- virtual scoped_ptr<ServiceResolver> CreateServiceResolver(
- const std::string& service_name,
- const ServiceResolver::ResolveCompleteCallback& callback) OVERRIDE;
- virtual scoped_ptr<LocalDomainResolver> CreateLocalDomainResolver(
- const std::string& domain,
- net::AddressFamily address_family,
- const LocalDomainResolver::IPAddressCallback& callback) OVERRIDE;
-
- // net::NetworkChangeNotifier::NetworkChangeObserver implementation.
- virtual void OnNetworkChanged(
- net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
-
- private:
- friend class base::RefCounted<ServiceDiscoveryClientMdns>;
-
- virtual ~ServiceDiscoveryClientMdns();
- void ScheduleStartNewClient();
- void StartNewClient();
- void ReportSuccess();
-
- scoped_refptr<ServiceDiscoveryHostClient> host_client_;
- int restart_attempts_;
- base::WeakPtrFactory<ServiceDiscoveryClientMdns> weak_ptr_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(ServiceDiscoveryClientMdns);
-};
-
-} // namespace local_discovery
-
-#endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MDNS_H_
« no previous file with comments | « no previous file | chrome/browser/local_discovery/service_discovery_client_mdns.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698