diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-05 23:40:51 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-05 23:40:51 +0000 |
commit | e1439025774175eccdef9ef61d680fbed1207c1a (patch) | |
tree | 02702fdab70a14a34add1e0f8c24669217cdd727 /net/base/dns_reloader.h | |
parent | c3b33fae9fb7a278e3fc472646a24034514d01b1 (diff) | |
download | chromium_src-e1439025774175eccdef9ef61d680fbed1207c1a.zip chromium_src-e1439025774175eccdef9ef61d680fbed1207c1a.tar.gz chromium_src-e1439025774175eccdef9ef61d680fbed1207c1a.tar.bz2 |
Revert 99666 (sync tests started failing on mac10.6:
http://build.chromium.org/p/chromium/builders/Mac10.6%20Sync/builds/9198
- Linux: Monitor resolv.conf for changes and use that to reload resolver.
BUG=67734
TEST=manual testing by poking at resolv.conf
Review URL: http://codereview.chromium.org/6903061
TBR=craig.schlenter@chromium.org
Review URL: http://codereview.chromium.org/7833030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99677 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/dns_reloader.h')
-rw-r--r-- | net/base/dns_reloader.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/net/base/dns_reloader.h b/net/base/dns_reloader.h deleted file mode 100644 index 899fbf3..0000000 --- a/net/base/dns_reloader.h +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef NET_BASE_DNS_RELOADER_H_ -#define NET_BASE_DNS_RELOADER_H_ -#pragma once - -#include "build/build_config.h" - -#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD) -namespace net { - -// Call on the network thread before calling DnsReloaderMaybeReload() anywhere. -void EnsureDnsReloaderInit(); - -// Call on the worker thread before doing a DNS lookup to reload the -// resolver for that thread by doing res_ninit() if required. -void DnsReloaderMaybeReload(); - -} // namespace net -#endif // defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD) - -#endif // NET_BASE_DNS_RELOADER_H_ |