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

Unified Diff: chrome/browser/net/dns_probe_service.cc

Issue 1047103002: Avoid initial NetworkChangeNotifier OnDNSChanged() signal on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert an accidental test enabling Created 5 years, 8 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 | « chrome/browser/net/dns_probe_service.h ('k') | net/android/network_change_notifier_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/dns_probe_service.cc
diff --git a/chrome/browser/net/dns_probe_service.cc b/chrome/browser/net/dns_probe_service.cc
index 38b79041382109fdcae18b684a76bc58f2fca825..09c852cda0947a13328a604bbb1a8c0ad977c7ac 100644
--- a/chrome/browser/net/dns_probe_service.cc
+++ b/chrome/browser/net/dns_probe_service.cc
@@ -120,6 +120,10 @@ void DnsProbeService::OnDNSChanged() {
SetSystemClientToCurrentConfig();
}
+void DnsProbeService::OnInitialDNSConfigRead() {
+ OnDNSChanged();
+}
+
void DnsProbeService::SetSystemClientForTesting(
scoped_ptr<DnsClient> system_client) {
system_runner_.SetClient(system_client.Pass());
« no previous file with comments | « chrome/browser/net/dns_probe_service.h ('k') | net/android/network_change_notifier_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698