OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
122 base::ListValue* GetRememberedList(); | 122 base::ListValue* GetRememberedList(); |
123 // Fills network information into JS dictionary for displaying network lists. | 123 // Fills network information into JS dictionary for displaying network lists. |
124 void FillNetworkInfo(base::DictionaryValue* dictionary); | 124 void FillNetworkInfo(base::DictionaryValue* dictionary); |
125 // Refreshes the display of network information. | 125 // Refreshes the display of network information. |
126 void RefreshNetworkData(); | 126 void RefreshNetworkData(); |
127 // Adds observers for wireless networks, if any, so that we can dynamically | 127 // Adds observers for wireless networks, if any, so that we can dynamically |
128 // display the correct icon for that network's signal strength and, in the | 128 // display the correct icon for that network's signal strength and, in the |
129 // case of cellular networks, network technology and roaming status. | 129 // case of cellular networks, network technology and roaming status. |
130 void MonitorNetworks(); | 130 void MonitorNetworks(); |
131 | 131 |
132 // Stores a dictionary under |key| in |settings| that is suitable be sent to | |
James Hawkins
2011/11/28 21:38:06
"suitable to be sent"?
Mattias Nissler (ping if slow)
2011/11/29 14:48:50
Done.
| |
133 // the webui that contains the actual value of a setting and whether it's | |
134 // controlled by policy. Takes ownership of |value|. | |
135 void SetValueDictionary(DictionaryValue* settings, | |
136 const char* key, | |
137 base::Value* value, | |
138 const chromeos::NetworkPropertyUIData& ui_data); | |
139 | |
132 // Convenience pointer to netwrok library (will not change). | 140 // Convenience pointer to netwrok library (will not change). |
133 chromeos::NetworkLibrary* cros_; | 141 chromeos::NetworkLibrary* cros_; |
134 | 142 |
135 content::NotificationRegistrar registrar_; | 143 content::NotificationRegistrar registrar_; |
136 | 144 |
137 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); | 145 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); |
138 }; | 146 }; |
139 | 147 |
140 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 148 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
OLD | NEW |