Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1288)

Unified Diff: chrome/browser/net/dns_global.h

Issue 27048: Fix a crash when dns prefetching was being shut down without being started.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: drop the ui test Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/net/dns_global.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/dns_global.h
diff --git a/chrome/browser/net/dns_global.h b/chrome/browser/net/dns_global.h
index 80cf6ff9b7820bd635b25b1783c7d43fa7ab3857..b7b1d5e6e00e78034a1cc3d0d7e685e5c6884db3 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.
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/net/dns_global.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698