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

Unified Diff: remoting/host/signaling_connector.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: remoting/host/signaling_connector.h
diff --git a/remoting/host/signaling_connector.h b/remoting/host/signaling_connector.h
index ee175c635c517db95adea2cf9bdbc5d621659d04..86b33cc08e22201dc805af5ef1e60bd9127f2f1e 100644
--- a/remoting/host/signaling_connector.h
+++ b/remoting/host/signaling_connector.h
@@ -32,8 +32,7 @@ class SignalingConnector
: public base::SupportsWeakPtr<SignalingConnector>,
public base::NonThreadSafe,
public SignalStrategy::Listener,
- public net::NetworkChangeNotifier::ConnectionTypeObserver,
- public net::NetworkChangeNotifier::IPAddressObserver,
+ public net::NetworkChangeNotifier::NetworkChangeObserver,
public gaia::GaiaOAuthClient::Delegate {
public:
// This structure contains information required to perform
@@ -67,13 +66,10 @@ class SignalingConnector
virtual bool OnSignalStrategyIncomingStanza(
const buzz::XmlElement* stanza) OVERRIDE;
- // NetworkChangeNotifier::ConnectionTypeObserver interface.
- virtual void OnConnectionTypeChanged(
+ // NetworkChangeNotifier::NetworkChangeObserver interface.
+ virtual void OnNetworkChanged(
net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
- // NetworkChangeNotifier::IPAddressObserver interface.
- virtual void OnIPAddressChanged() OVERRIDE;
-
// gaia::GaiaOAuthClient::Delegate interface.
virtual void OnGetTokensResponse(const std::string& user_email,
const std::string& access_token,

Powered by Google App Engine
This is Rietveld 408576698