bluetooth: Allow updates on chooser items.
Changes AddDevice to AddOrUpdateDevice. This will allow to post updates when a
device changes names or in the future rssi.
Second of three patches to improve the devices that appear in the chooser:
[1] Replace old advertised uuids (http://crrev.com/2205693003)
[2] This patch
[3] Only add new devices, connected devices and devices that changed
(http://crrev.com/2217573002)
BUG=508904
Committed: https://crrev.com/4178c185640b37e621703ac415141ac7caae06f4
Cr-Commit-Position: refs/heads/master@{#410954}
Dry run: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/202036)
4 years, 4 months ago
(2016-08-04 17:39:45 UTC)
#4
Description was changed from ========== bluetooth: Change AddDevice to AddOrUpdateDevice. This will allow to post ...
4 years, 4 months ago
(2016-08-04 17:49:57 UTC)
#5
Description was changed from
==========
bluetooth: Change AddDevice to AddOrUpdateDevice.
This will allow to post updates when a device changes names or
in the future rssi.
BUG=508904
==========
to
==========
bluetooth: Allow updates on chooser items.
Changes AddDevice to AddOrUpdateDevice. This will allow to post updates when a
device changes names or in the future rssi.
BUG=508904
==========
ortuno
The CQ bit was checked by ortuno@chromium.org to run a CQ dry run
4 years, 4 months ago
(2016-08-04 17:55:14 UTC)
#6
4 years, 4 months ago
(2016-08-04 19:48:00 UTC)
#9
Dry run: This issue passed the CQ dry run.
ortuno
Description was changed from ========== bluetooth: Allow updates on chooser items. Changes AddDevice to AddOrUpdateDevice. ...
4 years, 4 months ago
(2016-08-04 19:55:50 UTC)
#10
Description was changed from
==========
bluetooth: Allow updates on chooser items.
Changes AddDevice to AddOrUpdateDevice. This will allow to post updates when a
device changes names or in the future rssi.
BUG=508904
==========
to
==========
bluetooth: Allow updates on chooser items.
Changes AddDevice to AddOrUpdateDevice. This will allow to post updates when a
device changes names or in the future rssi.
Second of three patches to improve the devices that appear in the chooser:
[1] Replace old advertised uuids (http://crrev.com/2210873003)
[2] This patch
[3] Only add new devices, connected devices and devices that changed
(http://crrev.com/2217573002)
BUG=508904
==========
4 years, 4 months ago
(2016-08-04 19:57:44 UTC)
#12
juncai: PTAL
juncai
Instead of having AddOrUpdateDevice(), does it make sense to have a separate function: UpdateDevice()? https://codereview.chromium.org/2210873003/diff/40001/chrome/browser/ui/bluetooth/bluetooth_chooser_controller.cc ...
4 years, 4 months ago
(2016-08-04 21:52:25 UTC)
#13
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/274805)
4 years, 4 months ago
(2016-08-05 03:20:57 UTC)
#18
4 years, 4 months ago
(2016-08-05 20:44:30 UTC)
#19
//chrome/browser/ui/bluetooth/ LGTM.
https://codereview.chromium.org/2210873003/diff/40001/content/public/browser/...
File content/public/browser/bluetooth_chooser.h (right):
https://codereview.chromium.org/2210873003/diff/40001/content/public/browser/...
content/public/browser/bluetooth_chooser.h:73: virtual void
AddOrUpdateDevice(const std::string& device_id,
On 2016/08/05 02:16:09, ortuno wrote:
> On 2016/08/04 at 21:52:25, juncai wrote:
> > Does it make sense to have a separate function:
> > UpdateDevice()
> > instead of doing these two things in one function? This probably will also
> make testing easier since we can test them separately.
>
> If we were to separate these two functions, chooser clients would have to keep
> track of which devices they have already added which means yet another set of
> device_ids. We could expose a HasDevice() function so that clients don't have
to
> keep track, but that would mean two extra functions HasDevice() and
> UpdateDevice() that we have to implement all the way down to java.
Acknowledged.
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/233828)
4 years, 4 months ago
(2016-08-09 14:20:09 UTC)
#29
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/48725) ios-simulator on ...
4 years, 4 months ago
(2016-08-09 18:01:30 UTC)
#34
Dry run: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/204526)
4 years, 4 months ago
(2016-08-09 19:41:26 UTC)
#42
I think that patch description URLs are incorrect for [1] in this and following patch.
4 years, 4 months ago
(2016-08-09 20:25:04 UTC)
#49
I think that patch description URLs are incorrect for [1] in this and following
patch.
ortuno
Description was changed from ========== bluetooth: Allow updates on chooser items. Changes AddDevice to AddOrUpdateDevice. ...
4 years, 4 months ago
(2016-08-09 20:33:28 UTC)
#50
Description was changed from
==========
bluetooth: Allow updates on chooser items.
Changes AddDevice to AddOrUpdateDevice. This will allow to post updates when a
device changes names or in the future rssi.
Second of three patches to improve the devices that appear in the chooser:
[1] Replace old advertised uuids (http://crrev.com/2210873003)
[2] This patch
[3] Only add new devices, connected devices and devices that changed
(http://crrev.com/2217573002)
BUG=508904
==========
to
==========
bluetooth: Allow updates on chooser items.
Changes AddDevice to AddOrUpdateDevice. This will allow to post updates when a
device changes names or in the future rssi.
Second of three patches to improve the devices that appear in the chooser:
[1] Replace old advertised uuids (http://crrev.com/2205693003)
[2] This patch
[3] Only add new devices, connected devices and devices that changed
(http://crrev.com/2217573002)
BUG=508904
==========
4 years, 4 months ago
(2016-08-10 04:36:01 UTC)
#59
Message was sent while issue was closed.
Committed patchset #9 (id:150001)
commit-bot: I haz the power
Description was changed from ========== bluetooth: Allow updates on chooser items. Changes AddDevice to AddOrUpdateDevice. ...
4 years, 4 months ago
(2016-08-10 04:37:52 UTC)
#60
Message was sent while issue was closed.
Description was changed from
==========
bluetooth: Allow updates on chooser items.
Changes AddDevice to AddOrUpdateDevice. This will allow to post updates when a
device changes names or in the future rssi.
Second of three patches to improve the devices that appear in the chooser:
[1] Replace old advertised uuids (http://crrev.com/2205693003)
[2] This patch
[3] Only add new devices, connected devices and devices that changed
(http://crrev.com/2217573002)
BUG=508904
==========
to
==========
bluetooth: Allow updates on chooser items.
Changes AddDevice to AddOrUpdateDevice. This will allow to post updates when a
device changes names or in the future rssi.
Second of three patches to improve the devices that appear in the chooser:
[1] Replace old advertised uuids (http://crrev.com/2205693003)
[2] This patch
[3] Only add new devices, connected devices and devices that changed
(http://crrev.com/2217573002)
BUG=508904
Committed: https://crrev.com/4178c185640b37e621703ac415141ac7caae06f4
Cr-Commit-Position: refs/heads/master@{#410954}
==========
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/4178c185640b37e621703ac415141ac7caae06f4 Cr-Commit-Position: refs/heads/master@{#410954}
4 years, 4 months ago
(2016-08-10 04:37:54 UTC)
#61
Issue 2210873003: bluetooth: Allow updates on chooser items.
(Closed)
Created 4 years, 4 months ago by ortuno
Modified 4 years, 4 months ago
Reviewers: gone, jam, juncai
Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-fix-advertised-services
Comments: 19