diff options
Diffstat (limited to 'net/base/host_resolver_impl.h')
-rw-r--r-- | net/base/host_resolver_impl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/base/host_resolver_impl.h b/net/base/host_resolver_impl.h index b1002ab..7f6f7e8d 100644 --- a/net/base/host_resolver_impl.h +++ b/net/base/host_resolver_impl.h @@ -82,6 +82,11 @@ class HostResolverImpl : public HostResolver, size_t max_jobs, NetLog* net_log); + // 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, @@ -132,11 +137,6 @@ class HostResolverImpl : public HostResolver, typedef std::map<Key, scoped_refptr<Job> > JobMap; typedef std::vector<HostResolver::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_ ? |