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

Unified Diff: chrome/browser/browser_main.cc

Issue 6033006: Use FileWatcher to watch system resolver config, on systems that require... Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years 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 | net/base/dns_reload_timer.h » ('j') | net/base/dns_reload_timer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
===================================================================
--- chrome/browser/browser_main.cc (revision 70147)
+++ chrome/browser/browser_main.cc (working copy)
@@ -90,6 +90,7 @@
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "net/base/cookie_monster.h"
+#include "net/base/dns_reload_timer.h"
#include "net/base/net_module.h"
#include "net/base/network_change_notifier.h"
#include "net/http/http_network_layer.h"
@@ -1262,6 +1263,10 @@
MaybeChangeUIFont();
#endif
+#if WATCH_RESOLV_CONF
+ net::InitResolvConfWatcher(browser_process->file_thread());
+#endif
+
// Record last shutdown time into a histogram.
browser_shutdown::ReadLastShutdownInfo();
« no previous file with comments | « no previous file | net/base/dns_reload_timer.h » ('j') | net/base/dns_reload_timer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698