| Index: chromeos/network/network_util.h
|
| diff --git a/chromeos/network/network_util.h b/chromeos/network/network_util.h
|
| index 7c952383a593ac17dce63ffe6d9c81dff959dbf6..ebcc8117f0bc03d02d222e894a936439f414094b 100644
|
| --- a/chromeos/network/network_util.h
|
| +++ b/chromeos/network/network_util.h
|
| @@ -15,12 +15,19 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/callback.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "base/time/time.h"
|
| #include "base/values.h"
|
| #include "chromeos/chromeos_export.h"
|
|
|
| +namespace base {
|
| +class ListValue;
|
| +}
|
| +
|
| namespace chromeos {
|
|
|
| +class NetworkTypePattern;
|
| +
|
| // Struct for passing wifi access point data.
|
| struct CHROMEOS_EXPORT WifiAccessPoint {
|
| WifiAccessPoint();
|
| @@ -79,6 +86,12 @@ CHROMEOS_EXPORT int32 NetmaskToPrefixLength(const std::string& netmask);
|
| CHROMEOS_EXPORT bool ParseCellularScanResults(
|
| const base::ListValue& list, std::vector<CellularScanResult>* scan_results);
|
|
|
| +// Retrieves the list of visible network services by passing |pattern| to
|
| +// NetworkStateHandler::GetNetworkListByType() and translates each into a list
|
| +// of ONC dictionaries using TranslateShillServiceToONCPart.
|
| +CHROMEOS_EXPORT scoped_ptr<base::ListValue> TranslateNetworkListToONC(
|
| + NetworkTypePattern pattern);
|
| +
|
| } // namespace network_util
|
| } // namespace chromeos
|
|
|
|
|