| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 // NetworkStateHandlerObserver | 89 // NetworkStateHandlerObserver |
| 90 virtual void NetworkManagerChanged() OVERRIDE; | 90 virtual void NetworkManagerChanged() OVERRIDE; |
| 91 virtual void NetworkListChanged() OVERRIDE; | 91 virtual void NetworkListChanged() OVERRIDE; |
| 92 virtual void NetworkConnectionStateChanged( | 92 virtual void NetworkConnectionStateChanged( |
| 93 const chromeos::NetworkState* network) OVERRIDE; | 93 const chromeos::NetworkState* network) OVERRIDE; |
| 94 virtual void NetworkPropertiesUpdated( | 94 virtual void NetworkPropertiesUpdated( |
| 95 const chromeos::NetworkState* network) OVERRIDE; | 95 const chromeos::NetworkState* network) OVERRIDE; |
| 96 | 96 |
| 97 // chromeos::LoginState::Observer | 97 // chromeos::LoginState::Observer |
| 98 virtual void LoggedInStateChanged( | 98 virtual void LoggedInStateChanged() OVERRIDE; |
| 99 chromeos::LoginState::LoggedInState) OVERRIDE; | |
| 100 | 99 |
| 101 // Updates the logged in user type. | 100 // Updates the logged in user type. |
| 102 void UpdateLoggedInUserType(); | 101 void UpdateLoggedInUserType(); |
| 103 | 102 |
| 104 // content::NotificationObserver (from OptionsPageUIHandler) | 103 // content::NotificationObserver (from OptionsPageUIHandler) |
| 105 virtual void Observe(int type, | 104 virtual void Observe(int type, |
| 106 const content::NotificationSource& source, | 105 const content::NotificationSource& source, |
| 107 const content::NotificationDetails& details) OVERRIDE; | 106 const content::NotificationDetails& details) OVERRIDE; |
| 108 | 107 |
| 109 // Additional callbacks to set network state properties. | 108 // Additional callbacks to set network state properties. |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 // of this object. | 161 // of this object. |
| 163 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; | 162 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; |
| 164 | 163 |
| 165 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); | 164 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); |
| 166 }; | 165 }; |
| 167 | 166 |
| 168 } // namespace options | 167 } // namespace options |
| 169 } // namespace chromeos | 168 } // namespace chromeos |
| 170 | 169 |
| 171 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 170 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
| OLD | NEW |