| Index: chrome/browser/ui/webui/options/chromeos/internet_options_handler.h
|
| diff --git a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.h b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.h
|
| index 124732721110d11c293c495c19aff32fa6b2874c..0f384ee91f603f6c61be7da2cdceeaa29360f57b 100644
|
| --- a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.h
|
| +++ b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.h
|
| @@ -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 @@ namespace options {
|
| // 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();
|
| @@ -92,6 +94,13 @@ class InternetOptionsHandler
|
| 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,
|
|
|