[net/dns] Suppress multiple DnsConfig withdrawals after timeout.
BUG=132110
TEST=net_unittests --gtest_filter=DnsConfigServiceTest.Timeout
Review URL: https://chromiumcodereview.appspot.com/10537106
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141715 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/net/dns/dns_config_service.h b/net/dns/dns_config_service.h
index bc3542d6..4b77b68 100644
--- a/net/dns/dns_config_service.h
+++ b/net/dns/dns_config_service.h
@@ -135,6 +135,8 @@
bool have_hosts_;
// True if receiver needs to be updated when the config becomes complete.
bool need_update_;
+ // True if the last config sent was empty (instead of |dns_config_|).
+ bool last_sent_empty_;
// Started in Invalidate*, cleared in On*Read.
base::OneShotTimer<DnsConfigService> timer_;