diff options
| author | Ben Murdoch <benm@google.com> | 2010-11-18 18:32:45 +0000 |
|---|---|---|
| committer | Ben Murdoch <benm@google.com> | 2010-11-18 18:38:07 +0000 |
| commit | 513209b27ff55e2841eac0e4120199c23acce758 (patch) | |
| tree | aeba30bb08c5f47c57003544e378a377c297eee6 /chrome/browser/chromeos/network_state_notifier.h | |
| parent | 164f7496de0fbee436b385a79ead9e3cb81a50c1 (diff) | |
| download | external_chromium-513209b27ff55e2841eac0e4120199c23acce758.zip external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.gz external_chromium-513209b27ff55e2841eac0e4120199c23acce758.tar.bz2 | |
Merge Chromium at r65505: Initial merge by git.
Change-Id: I31d8f1d8cd33caaf7f47ffa7350aef42d5fbdb45
Diffstat (limited to 'chrome/browser/chromeos/network_state_notifier.h')
| -rw-r--r-- | chrome/browser/chromeos/network_state_notifier.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/chromeos/network_state_notifier.h b/chrome/browser/chromeos/network_state_notifier.h index 9d49d94..94e57f4 100644 --- a/chrome/browser/chromeos/network_state_notifier.h +++ b/chrome/browser/chromeos/network_state_notifier.h @@ -42,10 +42,10 @@ class NetworkStateDetails { }; // NetworkStateNotifier sends notification when network state has -// chagned. Notificatio is sent in UI thread. +// chagned. Notification is sent in UI thread. // TODO(oshima): port this to other platform. merge with // NetworkChangeNotifier if possible. -class NetworkStateNotifier : public NetworkLibrary::Observer { +class NetworkStateNotifier : public NetworkLibrary::NetworkManagerObserver { public: // Returns the singleton instance of the network state notifier; static NetworkStateNotifier* Get(); @@ -59,8 +59,8 @@ class NetworkStateNotifier : public NetworkLibrary::Observer { return Get()->state_ == NetworkStateDetails::CONNECTED; } - // NetworkLibrary::Observer implementation. - virtual void NetworkChanged(NetworkLibrary* cros); + // NetworkLibrary::NetworkManagerObserver implementation. + virtual void OnNetworkManagerChanged(NetworkLibrary* cros); private: friend struct DefaultSingletonTraits<NetworkStateNotifier>; @@ -69,7 +69,7 @@ class NetworkStateNotifier : public NetworkLibrary::Observer { static NetworkStateDetails::State RetrieveState(); NetworkStateNotifier(); - virtual ~NetworkStateNotifier() {} + virtual ~NetworkStateNotifier(); // Update the current state and sends notification to observers. // This should be invoked in UI thread. |
