| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 // Updates the logged in user type. | 104 // Updates the logged in user type. |
| 105 void UpdateLoggedInUserType(); | 105 void UpdateLoggedInUserType(); |
| 106 | 106 |
| 107 // Gets the native window for hosting dialogs, etc. | 107 // Gets the native window for hosting dialogs, etc. |
| 108 gfx::NativeWindow GetNativeWindow() const; | 108 gfx::NativeWindow GetNativeWindow() const; |
| 109 | 109 |
| 110 // Gets the user PrefService associated with the WebUI. | 110 // Gets the user PrefService associated with the WebUI. |
| 111 const PrefService* GetPrefs() const; | 111 const PrefService* GetPrefs() const; |
| 112 | 112 |
| 113 // Additional callbacks for managing networks. | 113 // Additional callbacks for managing networks. |
| 114 void AddConnection(const base::ListValue* args); | 114 void AddVPNConnection(const base::ListValue* args); |
| 115 void AddNonVPNConnection(const base::ListValue* args); |
| 115 void ConfigureNetwork(const base::ListValue* args); | 116 void ConfigureNetwork(const base::ListValue* args); |
| 116 void ActivateNetwork(const base::ListValue* args); | 117 void ActivateNetwork(const base::ListValue* args); |
| 117 void RemoveNetwork(const base::ListValue* args); | 118 void RemoveNetwork(const base::ListValue* args); |
| 118 | 119 |
| 119 // Creates the map of wired networks. | 120 // Creates the map of wired networks. |
| 120 base::ListValue* GetWiredList(); | 121 base::ListValue* GetWiredList(); |
| 121 | 122 |
| 122 // Creates the map of wireless networks. | 123 // Creates the map of wireless networks. |
| 123 base::ListValue* GetWirelessList(); | 124 base::ListValue* GetWirelessList(); |
| 124 | 125 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 139 // of this object. | 140 // of this object. |
| 140 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; | 141 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; |
| 141 | 142 |
| 142 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); | 143 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); |
| 143 }; | 144 }; |
| 144 | 145 |
| 145 } // namespace options | 146 } // namespace options |
| 146 } // namespace chromeos | 147 } // namespace chromeos |
| 147 | 148 |
| 148 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 149 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
| OLD | NEW |