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

Unified Diff: chrome/common/extensions/api/gcd_private.idl

Issue 427123002: Added function to get list of networks with prefetched passwords (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wifi_session1
Patch Set: Created 6 years, 5 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: 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,
« no previous file with comments | « chrome/browser/extensions/api/gcd_private/gcd_private_api.cc ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698