diff options
Diffstat (limited to 'chrome/browser/net/dns_global.h')
-rw-r--r-- | chrome/browser/net/dns_global.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/net/dns_global.h b/chrome/browser/net/dns_global.h index e27062e..c9a864f 100644 --- a/chrome/browser/net/dns_global.h +++ b/chrome/browser/net/dns_global.h @@ -36,9 +36,13 @@ void EnsureDnsPrefetchShutdown(); void FreeDnsPrefetchResources(); // Lazily allocates a HostResolver to be used by the DNS prefetch system, on -// the IO thread. +// the IO thread. Must be matched by a call to FreeGlobalHostResolver(). net::HostResolver* GetGlobalHostResolver(); +// Frees the HostResolver allocated by GetGlobalHostResolver(). Must be called +// on the IO thread. +void FreeGlobalHostResolver(); + //------------------------------------------------------------------------------ // Global APIs relating to Prefetching in browser void EnableDnsPrefetch(bool enable); |