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

Issue 787953004: bluetooth: Use BluetoothAdapter in BluetoothDispatcherHost. (Closed)

Created:
6 years ago by scheib
Modified:
5 years, 11 months ago
Reviewers:
armansito, brettw
CC:
chromium-reviews, nasko+codewatch_chromium.org, darin-cc_chromium.org, scheib+watch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkcr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Use BluetoothAdapter in BluetoothDispatcherHost. Previously only simple mock responses were supported in BluetoothDispatcherHost. This change adds use of an actual adapter, and enables the first actual bluetooth.requestDevices responses to function in the browser (with the experimental-web-platform-features flag). BUG=420284 Committed: https://crrev.com/87f458906d9fb18e31ab051cd2e182550f1e15af Cr-Commit-Position: refs/heads/master@{#312241}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Comments added addressing armansito's points. #

Patch Set 3 : gyp fixes (!ios) #

Patch Set 4 : rebase #

Patch Set 5 : rebase and call OnDBusThreadManagerShutdown #

Patch Set 6 : virtual/override replaced #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -14 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.h View 2 chunks +13 lines, -2 lines 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 2 chunks +49 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 1 chunk +5 lines, -2 lines 0 comments Download
M content/child/bluetooth/bluetooth_dispatcher.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/shell_views.cc View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M device/bluetooth/bluetooth_adapter.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/bluetooth_adapter_chromeos.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M device/bluetooth/test/mock_bluetooth_adapter.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 44 (22 generated)
scheib
armansito, please take a first-pass look, I will also be adding OWNERS for the build ...
6 years ago (2014-12-10 00:17:54 UTC) #3
armansito
A couple of comments. As a note, all classes defined in device/bluetooth have mock subclasses ...
6 years ago (2014-12-10 00:40:05 UTC) #4
scheib
Thanks Arman. Yes, this is incremental and so far just has 'empty mocks'. The plan ...
6 years ago (2014-12-10 17:54:02 UTC) #6
armansito
The Bluetooth related bits in BluetoothDispatcherHost and device/bluetooth in DEPS lgtm
6 years ago (2014-12-10 18:14:35 UTC) #7
scheib
6 years ago (2014-12-16 21:56:27 UTC) #10
scheib
brettw OWNERS review please for: content/browser/renderer_host/render_process_host_impl.cc content/browser/DEPS content/browser/BUILD.gn
6 years ago (2014-12-16 21:57:04 UTC) #11
scheib
brettw, ping
5 years, 11 months ago (2015-01-06 22:01:53 UTC) #12
brettw
LGTM, sorry
5 years, 11 months ago (2015-01-07 08:45:45 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787953004/120001
5 years, 11 months ago (2015-01-07 08:46:25 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu/builds/107136) android_aosp on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/46337) android_arm64_dbg_recipe ...
5 years, 11 months ago (2015-01-07 08:49:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787953004/140001
5 years, 11 months ago (2015-01-08 19:32:30 UTC) #20
commit-bot: I haz the power
CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true in order for the CQ ...
5 years, 11 months ago (2015-01-08 19:32:33 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787953004/160001
5 years, 11 months ago (2015-01-08 20:06:15 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/12920)
5 years, 11 months ago (2015-01-08 21:11:37 UTC) #27
scheib
This issue is blocked on https://code.google.com/p/chromium/issues/detail?id=447387. Patch 5 illustrates the errors of referencing DBusThreadManager. I'll ...
5 years, 11 months ago (2015-01-08 23:37:55 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787953004/240001
5 years, 11 months ago (2015-01-19 17:18:46 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja_ng on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja_ng/builds/2293) Try jobs failed on following ...
5 years, 11 months ago (2015-01-19 17:22:22 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787953004/260001
5 years, 11 months ago (2015-01-20 04:16:40 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/16190) Try jobs failed on following ...
5 years, 11 months ago (2015-01-20 05:20:05 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/787953004/280001
5 years, 11 months ago (2015-01-20 18:13:12 UTC) #42
commit-bot: I haz the power
Committed patchset #6 (id:280001)
5 years, 11 months ago (2015-01-20 19:20:13 UTC) #43
commit-bot: I haz the power
5 years, 11 months ago (2015-01-20 19:21:03 UTC) #44
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/87f458906d9fb18e31ab051cd2e182550f1e15af
Cr-Commit-Position: refs/heads/master@{#312241}

Powered by Google App Engine
This is Rietveld 408576698