Index: chrome/common/extensions/api/gcd_private.idl |
diff --git a/chrome/common/extensions/api/gcd_private.idl b/chrome/common/extensions/api/gcd_private.idl |
index c0fb64b76bbd159b8c377f94de8834dc95e28f8b..918a80d95ccb4cd2710ff0cf134af74b55d7aeba 100644 |
--- a/chrome/common/extensions/api/gcd_private.idl |
+++ b/chrome/common/extensions/api/gcd_private.idl |
@@ -96,6 +96,9 @@ namespace gcdPrivate { |
// |success| Denotes whether the password fetch has succeeded or failed. |
callback SuccessCallback = void(boolean success); |
+ // Called as a response to |getPrefetchedWifiNameList| |
+ // |list| the list of ssids for which wifi passwords were prefetched. |
+ callback SSIDListCallback = void(DOMString[] networks); |
interface Functions { |
// Returns the list of cloud devices visible locally or available in the |
@@ -113,6 +116,9 @@ namespace gcdPrivate { |
// with true if wifi password was cached and false if it was unavailable. |
static void prefetchWifiPassword(DOMString ssid, SuccessCallback callback); |
+ // Get the list of ssids with prefetched callbacks. |
+ static void getPrefetchedWifiNameList(SSIDListCallback callback); |
+ |
// Establish the session. |
static void establishSession(DOMString ipAddress, |
long port, |