Index: net/base/host_resolver_impl.h |
=================================================================== |
--- net/base/host_resolver_impl.h (revision 31079) |
+++ net/base/host_resolver_impl.h (working copy) |
@@ -51,11 +51,6 @@ |
int max_cache_entries, |
int cache_duration_ms); |
- // If any completion callbacks are pending when the resolver is destroyed, |
- // the host resolutions are cancelled, and the completion callbacks will not |
- // be called. |
- virtual ~HostResolverImpl(); |
- |
// HostResolver methods: |
virtual int Resolve(const RequestInfo& info, |
AddressList* addresses, |
@@ -82,6 +77,11 @@ |
typedef std::map<Key, scoped_refptr<Job> > JobMap; |
typedef std::vector<Observer*> ObserversList; |
+ // If any completion callbacks are pending when the resolver is destroyed, |
+ // the host resolutions are cancelled, and the completion callbacks will not |
+ // be called. |
+ virtual ~HostResolverImpl(); |
+ |
// Returns the HostResolverProc to use for this instance. |
HostResolverProc* effective_resolver_proc() const { |
return resolver_proc_ ? |