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

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

Issue 10807087: Bluetooth API: add discovering changed events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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/experimental_bluetooth.idl
diff --git a/chrome/common/extensions/api/experimental_bluetooth.idl b/chrome/common/extensions/api/experimental_bluetooth.idl
index bdfbf814192e09ad76c61a36311bacfc245ba879..13e0ef96d1abbb71fd7b218926949f44e95d5569 100644
--- a/chrome/common/extensions/api/experimental_bluetooth.idl
+++ b/chrome/common/extensions/api/experimental_bluetooth.idl
@@ -212,5 +212,10 @@ namespace experimental.bluetooth {
// Fired when the power state of bluetooth on the system changes.
// |powered| : True if bluetooth is powered, false otherwise.
static void onPowerChanged(boolean has_power);
+
+ // Fired when the discovering state of the system changes.
+ // |discovering| : True if the system is currently in discovery mode, false
+ // otherwise.
+ static void onDiscoveringChanged(boolean discovering);
};
};
« no previous file with comments | « chrome/browser/extensions/event_names.cc ('k') | chrome/common/extensions/docs/apps/experimental.bluetooth.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698