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

Unified Diff: chromeos/network/onc/onc_translator.h

Issue 275543005: Use GUID instead of ServicePath in networkingPrivate API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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/onc/onc_translator.h
diff --git a/chromeos/network/onc/onc_translator.h b/chromeos/network/onc/onc_translator.h
index 270247c65c199d7c2a243ef4d6af79f7b5173310..80018bf068569b5e31e8b9e88441cdf5bdc9a63a 100644
--- a/chromeos/network/onc/onc_translator.h
+++ b/chromeos/network/onc/onc_translator.h
@@ -10,9 +10,13 @@
namespace base {
class DictionaryValue;
+class ListValue;
}
namespace chromeos {
+
+class NetworkTypePattern;
+
namespace onc {
struct OncValueSignature;
@@ -42,6 +46,11 @@ scoped_ptr<base::DictionaryValue> TranslateShillServiceToONCPart(
const base::DictionaryValue& shill_dictionary,
const OncValueSignature* onc_signature);
+// Retrieves the list of network services and translates each into a list of
+// ONC dictionaries using TranslateShillServiceToONCPart.
+CHROMEOS_EXPORT scoped_ptr<base::ListValue> TranslateShillNetworkListToONC(
+ NetworkTypePattern pattern);
+
} // namespace onc
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698