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

Unified Diff: chrome/browser/intranet_redirect_detector.h

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/google/google_url_tracker.cc ('k') | chrome/browser/intranet_redirect_detector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/intranet_redirect_detector.h
diff --git a/chrome/browser/intranet_redirect_detector.h b/chrome/browser/intranet_redirect_detector.h
index 5e920cf10afade7d5b69a86afc14ab885bef9c38..9366d6f36d2bb6d56eb05a12e7b821c3e1283b34 100644
--- a/chrome/browser/intranet_redirect_detector.h
+++ b/chrome/browser/intranet_redirect_detector.h
@@ -35,9 +35,10 @@ class PrefService;
// Consumers should call RedirectOrigin(), which is guaranteed to synchronously
// return a value at all times (even during startup or in unittest mode). If no
// redirection is in place, the returned GURL will be empty.
-class IntranetRedirectDetector : public URLFetcher::Delegate,
- public NotificationObserver,
- public net::NetworkChangeNotifier::Observer {
+class IntranetRedirectDetector
+ : public URLFetcher::Delegate,
+ public NotificationObserver,
+ public net::NetworkChangeNotifier::IPAddressObserver {
public:
// Only the main browser process loop should call this, when setting up
// g_browser_process->intranet_redirect_detector_. No code other than the
@@ -81,7 +82,7 @@ class IntranetRedirectDetector : public URLFetcher::Delegate,
const NotificationSource& source,
const NotificationDetails& details);
- // NetworkChangeNotifier::Observer
+ // NetworkChangeNotifier::IPAddressObserver
virtual void OnIPAddressChanged();
NotificationRegistrar registrar_;
« no previous file with comments | « chrome/browser/google/google_url_tracker.cc ('k') | chrome/browser/intranet_redirect_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698