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

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

Issue 356613002: Add queryForNewLocalDevices to gcdPrivate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 26f57e042b57d8fbaaf28d7b01a6b7c9bd0a5632..7d0ff1337b66c5d80d62c4589d1093eb811b85ec 100644
--- a/chrome/common/extensions/api/gcd_private.idl
+++ b/chrome/common/extensions/api/gcd_private.idl
@@ -40,6 +40,11 @@ namespace gcdPrivate {
interface Functions {
static void getCloudDeviceList(CloudDeviceListCallback callback);
+ // Call this function *only* after registering for onDeviceStateChanged
+ // events, or it will do nothing. This will trigger an
+ // onLocalDeviceStateChanged event per device.
+ static void queryForNewLocalDevices();
+
// Starts device setup process. Returns id of setup process. Id should be
// used as |setupId| in all subsequent setup related calls, and for
// filtering setup events.

Powered by Google App Engine
This is Rietveld 408576698