Index: chromeos/network/network_ui_data.h |
diff --git a/chromeos/network/network_ui_data.h b/chromeos/network/network_ui_data.h |
index b65987e309b3227a964dd69f84d92067552020f4..05abfbc41787cd940898aad665c45abe9856728d 100644 |
--- a/chromeos/network/network_ui_data.h |
+++ b/chromeos/network/network_ui_data.h |
@@ -78,6 +78,14 @@ class CHROMEOS_EXPORT NetworkUIData { |
// keys appropriate for Network::ui_data() as defined below (kKeyXXX). |
void FillDictionary(base::DictionaryValue* dict) const; |
+ // Creates a NetworkUIData object from |onc_network|, which has to be a valid |
+ // ONC NetworkConfiguration dictionary. |
+ // This function is used to create the "UIData" field of the Shill |
+ // configuration. |
+ static scoped_ptr<NetworkUIData> CreateFromONC( |
+ onc::ONCSource onc_source, |
+ const base::DictionaryValue& onc_network); |
+ |
// Key for storing source of the ONC network. |
static const char kKeyONCSource[]; |
@@ -98,15 +106,6 @@ class CHROMEOS_EXPORT NetworkUIData { |
std::string policy_guid_; |
}; |
-// Creates a NetworkUIData object from |onc_network|, which has to be a valid |
-// ONC NetworkConfiguration dictionary. |
-// |
-// This function is used to create the "UIData" field of the Shill |
-// configuration. |
-CHROMEOS_EXPORT scoped_ptr<NetworkUIData> CreateUIDataFromONC( |
- onc::ONCSource onc_source, |
- const base::DictionaryValue& onc_network); |
- |
} // namespace chromeos |
#endif // CHROMEOS_NETWORK_NETWORK_UI_DATA_H_ |