summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/dns_global.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/dns_global.h')
-rw-r--r--chrome/browser/net/dns_global.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/net/dns_global.h b/chrome/browser/net/dns_global.h
index 80cf6ff..b7b1d5e 100644
--- a/chrome/browser/net/dns_global.h
+++ b/chrome/browser/net/dns_global.h
@@ -23,8 +23,9 @@ namespace chrome_browser_net {
// functions.
void InitDnsPrefetch(PrefService* user_prefs);
-// Cancel pending lookup requests and don't make new ones.
-void ShutdownDnsPrefetch();
+// Cancel pending lookup requests and don't make new ones. Does nothing
+// if dns prefetching has not been initialized (to simplify its usage).
+void EnsureDnsPrefetchShutdown();
// Free all resources allocated by InitDnsPrefetch. After that you must not call
// any function from this file.