summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authorszym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-31 19:52:40 +0000
committerszym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-31 19:52:40 +0000
commitbb0e34549798b05741950f793b572e600de0c2cd (patch)
treed8ec98dc3d9378c3036bfa92493ae9b83ea1b92d /jingle
parent90c8b9ca6040546b9b08c03188a604a9f348dd89 (diff)
downloadchromium_src-bb0e34549798b05741950f793b572e600de0c2cd.zip
chromium_src-bb0e34549798b05741950f793b572e600de0c2cd.tar.gz
chromium_src-bb0e34549798b05741950f793b572e600de0c2cd.tar.bz2
[net] Move DnsConfigService to NetworkChangeNotifier.
This merges DnsConfigWatcher back into DnsConfigService and installs DnsConfigService at NetworkChangeNotifier. It removes |detail| from OnDNSChanged callback, and exposes NetworkChangeNotifier::GetDnsConfig. BUG=142142 Review URL: https://chromiumcodereview.appspot.com/10873018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154485 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-rw-r--r--jingle/notifier/communicator/login.cc2
-rw-r--r--jingle/notifier/communicator/login.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/jingle/notifier/communicator/login.cc b/jingle/notifier/communicator/login.cc
index 248f9dd..afb0152 100644
--- a/jingle/notifier/communicator/login.cc
+++ b/jingle/notifier/communicator/login.cc
@@ -100,7 +100,7 @@ void Login::OnConnectionTypeChanged(
OnNetworkEvent();
}
-void Login::OnDNSChanged(unsigned detail) {
+void Login::OnDNSChanged() {
DVLOG(1) << "Detected DNS change";
OnNetworkEvent();
}
diff --git a/jingle/notifier/communicator/login.h b/jingle/notifier/communicator/login.h
index 7acde11..1fffb92 100644
--- a/jingle/notifier/communicator/login.h
+++ b/jingle/notifier/communicator/login.h
@@ -90,7 +90,7 @@ class Login : public net::NetworkChangeNotifier::IPAddressObserver,
net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
// net::NetworkChangeNotifier::DNSObserver implementation.
- virtual void OnDNSChanged(unsigned detail) OVERRIDE;
+ virtual void OnDNSChanged() OVERRIDE;
// SingleLoginAttempt::Delegate implementation.
virtual void OnConnect(