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

Unified Diff: chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h

Issue 9312001: Add bluetooth callbacks for fetching paired devices and stopping device discovery. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Prune log messages. Created 8 years, 11 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/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h
diff --git a/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h b/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h
index f519797bb4ef46fe62c396a29cfbf92a4280a04d..b1dbf430b3d03e2d1161ec3a438ba46c9dab5566 100644
--- a/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h
+++ b/chrome/browser/ui/webui/options2/chromeos/bluetooth_options_handler2.h
@@ -61,6 +61,16 @@ class BluetoothOptionsHandler : public ::options2::OptionsPageUIHandler,
// argument is present, it is the passkey for pairing confirmation.
void UpdateDeviceCallback(const base::ListValue* args);
+ // Called when the "Add a device" dialog closes to stop the discovery
+ // process.
+ // |args| will be an empty list.
+ void StopDiscoveryCallback(const base::ListValue* args);
+
+ // Called when the list of paired devices is initialized in order to
+ // populate the list.
+ // |args| will be an empty list.
+ void GetPairedDevicesCallback(const base::ListValue* args);
+
// Sends a notification to the Web UI of the status of a Bluetooth device.
// |device| is the Bluetooth device.
// |params| is an optional set of parameters.

Powered by Google App Engine
This is Rietveld 408576698