|
|
Change getDevices to use a DeviceCallback.
This modifies the getDevices method of the bluetooth Extensions API to
accept a DeviceCallback, which will be called for every matching device.
This will allow more thorough, long-running searches (involving SDP
queries) to be performed without slowing down access to matching devices
that can be returned quickly.
TEST=api test updated
BUG= 134545
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156348
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+278 lines, -128 lines) |
Patch |
 |
M |
chrome/browser/chromeos/bluetooth/bluetooth_device.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/bluetooth/test/mock_bluetooth_device.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/extensions/bluetooth_event_router.h
|
View
|
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/extensions/bluetooth_event_router.cc
|
View
|
|
3 chunks |
+16 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bluetooth/bluetooth_api.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bluetooth/bluetooth_api.cc
|
View
|
|
4 chunks |
+18 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/bluetooth/bluetooth_apitest_chromeos.cc
|
View
|
1
2
|
4 chunks |
+78 lines, -80 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/event_names.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/event_names.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/experimental_bluetooth.idl
|
View
|
|
2 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/experimental.bluetooth_custom_bindings.js
|
View
|
1
|
4 chunks |
+49 lines, -9 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/data/extensions/api_test/bluetooth/test_getdevices.html
|
View
|
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/bluetooth/test_getdevices.js
|
View
|
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/test/data/extensions/api_test/bluetooth/test_getdevices_concurrently.html
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
chrome/test/data/extensions/api_test/bluetooth/test_getdevices_concurrently.js
|
View
|
1
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|