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

Unified Diff: content/browser/net/browser_online_state_observer.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
« no previous file with comments | « chrome/browser/sessions/session_restore.cc ('k') | content/browser/net/browser_online_state_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/net/browser_online_state_observer.h
diff --git a/content/browser/net/browser_online_state_observer.h b/content/browser/net/browser_online_state_observer.h
index 776d11d27e687a41c0a6206655df3048ad50396d..577f43576e0d7dfd3160c9997dfe25b5dfc40404 100644
--- a/content/browser/net/browser_online_state_observer.h
+++ b/content/browser/net/browser_online_state_observer.h
@@ -12,13 +12,14 @@
// Listens for changes to the online state and manages sending
// updates to each RenderProcess via RenderProcessHost IPC.
class BrowserOnlineStateObserver
- : public net::NetworkChangeNotifier::OnlineStateObserver {
+ : public net::NetworkChangeNotifier::ConnectionTypeObserver {
public:
BrowserOnlineStateObserver();
virtual ~BrowserOnlineStateObserver();
- // OnlineStateObserver implementation.
- virtual void OnOnlineStateChanged(bool online) OVERRIDE;
+ // ConnectionTypeObserver implementation.
+ virtual void OnConnectionTypeChanged(
+ net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(BrowserOnlineStateObserver);
« no previous file with comments | « chrome/browser/sessions/session_restore.cc ('k') | content/browser/net/browser_online_state_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698