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

Unified Diff: chrome/browser/intranet_redirect_detector.cc

Issue 6526059: Plumb through NetworkChangeNotifier::IsOffline() to WebKit, enabling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Appease the C++ type system Created 9 years, 10 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/intranet_redirect_detector.h ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/intranet_redirect_detector.cc
diff --git a/chrome/browser/intranet_redirect_detector.cc b/chrome/browser/intranet_redirect_detector.cc
index 8be4d5e2850931ae81efee01be074685795e1b6a..7a5eef75e82ef150ceea67d1d8cff312c3ce9415 100644
--- a/chrome/browser/intranet_redirect_detector.cc
+++ b/chrome/browser/intranet_redirect_detector.cc
@@ -42,11 +42,11 @@ IntranetRedirectDetector::IntranetRedirectDetector()
&IntranetRedirectDetector::FinishSleep),
kStartFetchDelayMS);
- net::NetworkChangeNotifier::AddObserver(this);
+ net::NetworkChangeNotifier::AddIPAddressObserver(this);
}
IntranetRedirectDetector::~IntranetRedirectDetector() {
- net::NetworkChangeNotifier::RemoveObserver(this);
+ net::NetworkChangeNotifier::RemoveIPAddressObserver(this);
STLDeleteElements(&fetchers_);
}
« no previous file with comments | « chrome/browser/intranet_redirect_detector.h ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698