| Index: chrome/browser/ui/webui/options/chromeos/internet_options_handler.h
|
| ===================================================================
|
| --- chrome/browser/ui/webui/options/chromeos/internet_options_handler.h (revision 222879)
|
| +++ chrome/browser/ui/webui/options/chromeos/internet_options_handler.h (working copy)
|
| @@ -10,6 +10,7 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/ui/webui/options/options_ui.h"
|
| +#include "chromeos/login/login_state.h"
|
| #include "chromeos/network/network_state_handler_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| @@ -36,7 +37,8 @@
|
| // ChromeOS internet options page UI handler.
|
| class InternetOptionsHandler
|
| : public ::options::OptionsPageUIHandler,
|
| - public chromeos::NetworkStateHandlerObserver {
|
| + public chromeos::NetworkStateHandlerObserver,
|
| + public chromeos::LoginState::Observer {
|
| public:
|
| InternetOptionsHandler();
|
| virtual ~InternetOptionsHandler();
|
| @@ -90,6 +92,13 @@
|
| virtual void NetworkPropertiesUpdated(
|
| const chromeos::NetworkState* network) OVERRIDE;
|
|
|
| + // chromeos::LoginState::Observer
|
| + virtual void LoggedInStateChanged(
|
| + chromeos::LoginState::LoggedInState) OVERRIDE;
|
| +
|
| + // Updates the logged in user type.
|
| + void UpdateLoggedInUserType();
|
| +
|
| // content::NotificationObserver (from OptionsPageUIHandler)
|
| virtual void Observe(int type,
|
| const content::NotificationSource& source,
|
|
|