Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: chromeos/network/network_ui_data.h

Issue 14566009: Add NetworkConnectionHandler class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback from gauravsh Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..fe2f92b7c97fcd1cc8ef3c67a91a0c1e90a4a6aa 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> CreateUIDataFromONC(
pneubeck (no reviews) 2013/05/13 09:29:36 nit: rename to CreateFromONC
stevenjb 2013/05/13 20:25:52 Done.
+ 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_

Powered by Google App Engine
This is Rietveld 408576698