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

Unified Diff: net/base/host_resolver_impl.h

Issue 569035: Remove the HostResolver::Shutdown() method.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync and address comment Created 10 years, 11 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 | « net/base/host_resolver.h ('k') | net/base/mock_host_resolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/host_resolver_impl.h
===================================================================
--- net/base/host_resolver_impl.h (revision 38181)
+++ net/base/host_resolver_impl.h (working copy)
@@ -88,15 +88,15 @@
virtual void AddObserver(HostResolver::Observer* observer);
virtual void RemoveObserver(HostResolver::Observer* observer);
- // TODO(eroman): temp hack for http://crbug.com/15513
- virtual void Shutdown();
-
virtual void SetDefaultAddressFamily(AddressFamily address_family) {
default_address_family_ = address_family;
}
virtual bool IsHostResolverImpl() { return true; }
+ // TODO(eroman): hack for http://crbug.com/15513
+ void Shutdown();
+
// Returns the cache this resolver uses, or NULL if caching is disabled.
HostCache* cache() { return cache_.get(); }
@@ -239,7 +239,7 @@
// Address family to use when the request doesn't specify one.
AddressFamily default_address_family_;
- // TODO(eroman): temp hack for http://crbug.com/15513
+ // TODO(eroman): hack for http://crbug.com/15513
bool shutdown_;
NetworkChangeNotifier* const network_change_notifier_;
« no previous file with comments | « net/base/host_resolver.h ('k') | net/base/mock_host_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698