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

Unified Diff: chromecast/net/connectivity_checker.h

Issue 995933002: Observe IP address change in connectivity_checker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src/@master
Patch Set: Created 5 years, 9 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 | « no previous file | chromecast/net/connectivity_checker.cc » ('j') | chromecast/net/connectivity_checker.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/net/connectivity_checker.h
diff --git a/chromecast/net/connectivity_checker.h b/chromecast/net/connectivity_checker.h
index 28bde9a97249b5b45c724657ed8b2c5839281bba..f46452588d1240d19140f41312684b85f895d0db 100644
--- a/chromecast/net/connectivity_checker.h
+++ b/chromecast/net/connectivity_checker.h
@@ -28,7 +28,8 @@ namespace chromecast {
class ConnectivityChecker
: public base::RefCountedThreadSafe<ConnectivityChecker>,
public net::URLRequest::Delegate,
- public net::NetworkChangeNotifier::ConnectionTypeObserver {
+ public net::NetworkChangeNotifier::ConnectionTypeObserver,
+ public net::NetworkChangeNotifier::IPAddressObserver{
derekjchow1 2015/03/11 17:25:00 Add space: "public net::NetworkChangeNotifier::IPA
wzhong 2015/03/11 17:38:20 Done.
public:
class ConnectivityObserver {
public:
@@ -72,6 +73,9 @@ class ConnectivityChecker
void OnConnectionTypeChanged(
net::NetworkChangeNotifier::ConnectionType type) override;
+ // net::NetworkChangeNotifier::IPAddressObserver implementation:
+ void OnIPAddressChanged() override;
+
// Cancels current connectivity checking in progress.
void Cancel();
« no previous file with comments | « no previous file | chromecast/net/connectivity_checker.cc » ('j') | chromecast/net/connectivity_checker.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698