diff options
Diffstat (limited to 'net/base/host_resolver_impl.h')
-rw-r--r-- | net/base/host_resolver_impl.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/net/base/host_resolver_impl.h b/net/base/host_resolver_impl.h index 54e0b9e..904d896 100644 --- a/net/base/host_resolver_impl.h +++ b/net/base/host_resolver_impl.h @@ -1,4 +1,5 @@ // Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2011, Code Aurora Forum. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -80,7 +81,9 @@ class HostResolverImpl : public HostResolver, HostResolverImpl(HostResolverProc* resolver_proc, HostCache* cache, size_t max_jobs, - NetLog* net_log); + NetLog* net_log, + MessageLoop* net_notification_messageloop=NULL + ); // If any completion callbacks are pending when the resolver is destroyed, // the host resolutions are cancelled, and the completion callbacks will not @@ -128,6 +131,7 @@ class HostResolverImpl : public HostResolver, // TODO(eroman): hack for http://crbug.com/15513 virtual void Shutdown(); + virtual void SetResolverExt(HostnameResolverExt* preresolver); private: class Job; class JobPool; @@ -277,6 +281,9 @@ class HostResolverImpl : public HostResolver, NetLog* net_log_; + MessageLoop* net_notification_messageloop_; + HostnameResolverExt* resolverext_; + DISALLOW_COPY_AND_ASSIGN(HostResolverImpl); }; |