summaryrefslogtreecommitdiffstats
path: root/net/tools
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-11 22:47:43 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-11 22:47:43 +0000
commite95d3acad18de6ee161cada265e8d679f19db42b (patch)
tree713e98ff951ba13a605aa1315cdb24be513131e9 /net/tools
parente5518c760e5a8b4269eeab6849d670b0138c9462 (diff)
downloadchromium_src-e95d3acad18de6ee161cada265e8d679f19db42b.zip
chromium_src-e95d3acad18de6ee161cada265e8d679f19db42b.tar.gz
chromium_src-e95d3acad18de6ee161cada265e8d679f19db42b.tar.bz2
Set up HostResolverImpl to flush cache on IP address change.
BUG=http://crbug.com/26159 Review URL: http://codereview.chromium.org/545003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35956 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools')
-rw-r--r--net/tools/hresolv/hresolv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tools/hresolv/hresolv.cc b/net/tools/hresolv/hresolv.cc
index ed63330..6581bdc 100644
--- a/net/tools/hresolv/hresolv.cc
+++ b/net/tools/hresolv/hresolv.cc
@@ -446,7 +446,7 @@ int main(int argc, char** argv) {
base::TimeDelta::FromSeconds(0));
scoped_refptr<net::HostResolver> host_resolver(
- new net::HostResolverImpl(NULL, cache));
+ new net::HostResolverImpl(NULL, cache, NULL));
ResolverInvoker invoker(host_resolver.get());
invoker.ResolveAll(hosts_and_times, options.async);