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

Unified Diff: jingle/notifier/communicator/login.h

Issue 11620007: Switch from OnIPAddressChanged and OnConnectionTypeChange to OnNetworkChanged Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
Index: jingle/notifier/communicator/login.h
diff --git a/jingle/notifier/communicator/login.h b/jingle/notifier/communicator/login.h
index 1fffb92832dba5fdb59ec8d28c6eac60a747a050..4ad060dc33d86261d0952c2f3df7cf783f4fb903 100644
--- a/jingle/notifier/communicator/login.h
+++ b/jingle/notifier/communicator/login.h
@@ -38,8 +38,7 @@ class LoginSettings;
// to take on the various errors that may occur.
//
// TODO(akalin): Make this observe proxy config changes also.
-class Login : public net::NetworkChangeNotifier::IPAddressObserver,
- public net::NetworkChangeNotifier::ConnectionTypeObserver,
+class Login : public net::NetworkChangeNotifier::NetworkChangeObserver,
public net::NetworkChangeNotifier::DNSObserver,
public SingleLoginAttempt::Delegate {
public:
@@ -82,11 +81,8 @@ class Login : public net::NetworkChangeNotifier::IPAddressObserver,
// StartConnection()).
void UpdateXmppSettings(const buzz::XmppClientSettings& user_settings);
- // net::NetworkChangeNotifier::IPAddressObserver implementation.
- virtual void OnIPAddressChanged() OVERRIDE;
-
- // net::NetworkChangeNotifier::ConnectionTypeObserver implementation.
- virtual void OnConnectionTypeChanged(
+ // net::NetworkChangeNotifier::NetworkChangeObserver implementation.
+ virtual void OnNetworkChanged(
net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
// net::NetworkChangeNotifier::DNSObserver implementation.

Powered by Google App Engine
This is Rietveld 408576698