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

Unified Diff: chromeos/network/network_util.h

Issue 280023003: Implement networkingPrivate.getNetworks (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/network_util.h
diff --git a/chromeos/network/network_util.h b/chromeos/network/network_util.h
index 302bf4f55cbd2cda3d18e0f024ba2181ff353717..d5f91fa75ef40ac142217226ecc39aca0facfd57 100644
--- a/chromeos/network/network_util.h
+++ b/chromeos/network/network_util.h
@@ -86,9 +86,15 @@ CHROMEOS_EXPORT bool ParseCellularScanResults(
const base::ListValue& list, std::vector<CellularScanResult>* scan_results);
// Retrieves the list of network services and translates each into a list of
-// ONC dictionaries using TranslateShillServiceToONCPart.
+// ONC dictionaries using TranslateShillServiceToONCPart. |pattern|,
+// |configured_only|, and |visible_only| are passed to
+// NetworkStateHandler::GetFavoriteListByType, and |limit| is used to limit
+// the number of results.
CHROMEOS_EXPORT scoped_ptr<base::ListValue> TranslateNetworkListToONC(
tbarzic 2014/05/13 19:02:58 suggestion: GetNetworkListAsONC may be more suitab
- NetworkTypePattern pattern);
+ NetworkTypePattern pattern,
+ bool configured_only,
+ bool visible_only,
+ int limit);
} // namespace network_util
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698