#ifndef CONTENT_BROWSER_NET_BROWSER_ONLINE_STATE_OBSERVER_H_
#define CONTENT_BROWSER_NET_BROWSER_ONLINE_STATE_OBSERVER_H_
#include "base/basictypes.h"
#include "net/base/network_change_notifier.h"
namespace content {
class BrowserOnlineStateObserver
: public net::NetworkChangeNotifier::ConnectionTypeObserver {
public:
BrowserOnlineStateObserver();
virtual ~BrowserOnlineStateObserver();
virtual void OnConnectionTypeChanged(
net::NetworkChangeNotifier::ConnectionType type) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(BrowserOnlineStateObserver);
};
}
#endif