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 467035fa6e1eeeb45a5e209fec184ce2146ad75f..5fd6182f766e323b4fa43ada9d5d88952cf90e1f 100644 |
--- a/chrome/browser/ui/webui/options/chromeos/internet_options_handler.h |
+++ b/chrome/browser/ui/webui/options/chromeos/internet_options_handler.h |
@@ -9,6 +9,7 @@ |
#include "base/compiler_specific.h" |
#include "chrome/browser/chromeos/cros/network_library.h" |
+#include "chrome/browser/chromeos/cros/network_ui_data.h" |
#include "chrome/browser/ui/webui/options/options_ui.h" |
#include "content/public/browser/notification_registrar.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -129,6 +130,14 @@ class InternetOptionsHandler |
// case of cellular networks, network technology and roaming status. |
void MonitorNetworks(); |
+ // Stores a dictionary under |key| in |settings| that is suitable to be sent |
+ // to the webui that contains the actual value of a setting and whether it's |
+ // controlled by policy. Takes ownership of |value|. |
+ void SetValueDictionary(DictionaryValue* settings, |
+ const char* key, |
+ base::Value* value, |
+ const chromeos::NetworkPropertyUIData& ui_data); |
+ |
// Convenience pointer to netwrok library (will not change). |
chromeos::NetworkLibrary* cros_; |