summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-29 22:34:27 +0000
committerkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-29 22:34:27 +0000
commit5db73a293a2358c29d690bd24f8eceb6b4d9404d (patch)
treeafc55dddae030ee801c8fb923c68bb811f77da1e /tools
parent7cb1648b5a3f1c4ff999c869ff2b568152d5af15 (diff)
downloadchromium_src-5db73a293a2358c29d690bd24f8eceb6b4d9404d.zip
chromium_src-5db73a293a2358c29d690bd24f8eceb6b4d9404d.tar.gz
chromium_src-5db73a293a2358c29d690bd24f8eceb6b4d9404d.tar.bz2
Bluetooth: fix issues with discovery API
Correct problems with the BluetoothAdapter discovery API. Split the single SetDiscovering() method into StartDiscovering() and StopDiscovering(), the API requires that the underlying implementation count the calls and only changes the adapter state on the first caller to StartDiscovering() and last caller to StopDiscovering(). BlueZ, used within Chromium OS, behaves in this manner. Make IsDiscovering() return true if the adapter is performing either step of discovery, move its previous meaning to a new IsScanning() method and accompanying AdapterScanningChanged() observer method. BUG=chromium-os:31117 TEST=device_unittests Review URL: https://codereview.chromium.org/11859018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179442 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions