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

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: Revert Associating Stub change for test 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
« no previous file with comments | « chromeos/network/network_state_handler_unittest.cc ('k') | chromeos/network/network_ui_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chromeos/network/network_state_handler_unittest.cc ('k') | chromeos/network/network_ui_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698