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

Unified Diff: chrome/browser/extensions/api/bluetooth/bluetooth_api.h

Issue 10915148: Change getDevices to use a DeviceCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test breakage Created 8 years, 3 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/extensions/api/bluetooth/bluetooth_api.h
diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_api.h b/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
index c918ebc9dc6ff7b414cc38d27682bc0e07660a62..0f57f27284bed835f72cb61a1c4bffa67ef2a4ee 100644
--- a/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
+++ b/chrome/browser/extensions/api/bluetooth/bluetooth_api.h
@@ -86,9 +86,9 @@ class BluetoothGetDevicesFunction : public AsyncExtensionFunction {
private:
#if defined(OS_CHROMEOS)
- void AddDeviceIfTrueCallback(ListValue* list,
- const chromeos::BluetoothDevice* device,
- bool shouldAdd);
+ void DispatchDeviceSearchResult(const chromeos::BluetoothDevice& device);
+ void ProvidesServiceCallback(const chromeos::BluetoothDevice* device,
+ bool providesService);
int callbacks_pending_;
#endif
« no previous file with comments | « chrome/browser/chromeos/extensions/bluetooth_event_router.cc ('k') | chrome/browser/extensions/api/bluetooth/bluetooth_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698