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..200fef1dcdb95621135b23df743ee54181ccd93e 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[] success); |
asargent_no_longer_on_chrome
2014/07/30 18:15:15
nit: instead of "success", should the string list
Noam Samuel
2014/07/31 19:02:33
Done.
|
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, |