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

Unified Diff: chrome/browser/browser_main.cc

Issue 523076: Clear the host cache when closing the last incognito window.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Address jar's comments Created 10 years, 11 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 | « no previous file | chrome/browser/net/dns_global.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
===================================================================
--- chrome/browser/browser_main.cc (revision 35853)
+++ chrome/browser/browser_main.cc (working copy)
@@ -762,8 +762,9 @@
// testing against a bunch of special cases that are taken care early on.
PrepareRestartOnCrashEnviroment(parsed_command_line);
- // Initialize and maintain DNS prefetcher module.
- chrome_browser_net::DnsPrefetcherInit dns_prefetch(user_prefs, local_state);
+ // Initialize and maintain DNS prefetcher module. Also registers an observer
+ // to clear the host cache when closing incognito mode
jar (doing other things) 2010/01/09 02:16:29 nit: period at end of sentence.
+ chrome_browser_net::DnsGlobalInit dns_prefetch(user_prefs, local_state);
scoped_refptr<FieldTrial> socket_late_binding_trial =
new FieldTrial("SocketLateBinding", 100);
« no previous file with comments | « no previous file | chrome/browser/net/dns_global.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698