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

Unified Diff: chrome/browser/chromeos/offline/offline_load_page.h

Issue 9147026: API for connection type (Ethernet/WIFI/WWAN ...) in NetworkChangeNotifier. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed a typo Created 8 years, 7 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: chrome/browser/chromeos/offline/offline_load_page.h
diff --git a/chrome/browser/chromeos/offline/offline_load_page.h b/chrome/browser/chromeos/offline/offline_load_page.h
index 52fab74260838711fdd46b3319c2bbee996432b3..05512878bf94aec042f7736ad6718db24e67f94f 100644
--- a/chrome/browser/chromeos/offline/offline_load_page.h
+++ b/chrome/browser/chromeos/offline/offline_load_page.h
@@ -33,8 +33,9 @@ namespace chromeos {
// when no network is available and hides when some network (either
// one of wifi, 3g or ethernet) becomes available.
// It deletes itself when the interstitial page is closed.
-class OfflineLoadPage : public content::InterstitialPageDelegate,
- public net::NetworkChangeNotifier::OnlineStateObserver {
+class OfflineLoadPage
+ : public content::InterstitialPageDelegate,
+ public net::NetworkChangeNotifier::ConnectionTypeObserver {
public:
// Passed a boolean indicating whether or not it is OK to proceed with the
// page load.
@@ -64,8 +65,9 @@ class OfflineLoadPage : public content::InterstitialPageDelegate,
virtual void OnProceed() OVERRIDE;
virtual void OnDontProceed() OVERRIDE;
- // net::NetworkChangeNotifier::OnlineStateObserver overrides.
- virtual void OnOnlineStateChanged(bool online) OVERRIDE;
+ // net::NetworkChangeNotifier::ConnectionTypeObserver overrides.
+ virtual void OnConnectionTypeChanged(
+ net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
// Retrieves template strings of the offline page for app and
// normal site.
« no previous file with comments | « chrome/browser/chromeos/net/network_change_notifier_chromeos.cc ('k') | chrome/browser/chromeos/offline/offline_load_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698