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

Issue 1120373004: bluetooth: Browser-side implementation of connectGATT. (Closed)

Created:
5 years, 7 months ago by ortuno
Modified:
5 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Jeffrey Yasskin, scheib+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@bluetooth-request-device-implementation
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Partial implementation of connectGATT. Now connectGATT connects to the BLE device. This is the first step towards fully implementing connectGATT. Also adds BluetoothMsg_ConnectGATTError. Layout tests are in: http://crrev.com/1150523004 BUG=421668 Committed: https://crrev.com/87896a75a8d3e794a5ab7333fc0d249854d3124e Cr-Commit-Position: refs/heads/master@{#330883}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added ConnectGATTError #

Patch Set 3 : Moved function to match header #

Patch Set 4 : Tests and cleanup #

Total comments: 13

Patch Set 5 : Address scheib's comments #

Total comments: 18

Patch Set 6 : Remove connection variable #

Patch Set 7 : Address jyasskin's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -18 lines) Patch
M content/browser/bluetooth/bluetooth_dispatcher_host.h View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M content/browser/bluetooth/bluetooth_dispatcher_host.cc View 1 2 3 4 5 6 2 chunks +44 lines, -4 lines 0 comments Download
M content/child/bluetooth/bluetooth_dispatcher.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/child/bluetooth/bluetooth_dispatcher.cc View 1 2 3 4 5 6 3 chunks +21 lines, -6 lines 0 comments Download
M content/common/bluetooth/bluetooth_messages.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h View 1 2 3 4 5 6 2 chunks +31 lines, -1 line 0 comments Download
M content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc View 1 2 3 4 5 6 7 chunks +88 lines, -7 lines 0 comments Download

Messages

Total messages: 30 (12 generated)
ortuno
@scheib: Please review.
5 years, 7 months ago (2015-05-05 01:37:13 UTC) #2
scheib
Patches with lots of TODO comments are a hint that the other patches perhaps should ...
5 years, 7 months ago (2015-05-05 04:00:43 UTC) #3
ortuno
@scheib: Please review again. On 2015/05/05 at 04:00:43, scheib wrote: > Patches with lots of ...
5 years, 7 months ago (2015-05-05 20:35:42 UTC) #7
scheib
Put this patch on hold until we have a solution to implement mock adapters to ...
5 years, 7 months ago (2015-05-05 23:45:24 UTC) #11
ortuno
@scheib: Tests added.
5 years, 7 months ago (2015-05-20 17:22:57 UTC) #14
scheib
LGTM with a few requests: https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode55 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:55: ACTION_P(GetMockDevice, adapter) { Comment ...
5 years, 7 months ago (2015-05-20 20:14:08 UTC) #15
ortuno
https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode55 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:55: ACTION_P(GetMockDevice, adapter) { On 2015/05/20 at 20:14:08, scheib wrote: ...
5 years, 7 months ago (2015-05-20 20:54:47 UTC) #16
ortuno
@tsepez: Please OWNERS review for common/bluetooth/bluetooth_messages.h @jyasskin: PTAL.
5 years, 7 months ago (2015-05-20 20:57:11 UTC) #18
Jeffrey Yasskin
https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode184 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:184: BluetoothDevice* device_ptr = device.get(); On 2015/05/20 20:54:47, ortuno wrote: ...
5 years, 7 months ago (2015-05-20 21:14:07 UTC) #19
scheib
https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode184 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:184: BluetoothDevice* device_ptr = device.get(); On 2015/05/20 21:14:07, Jeffrey Yasskin ...
5 years, 7 months ago (2015-05-20 21:32:13 UTC) #20
Tom Sepez
lgtm Messages LGTM.
5 years, 7 months ago (2015-05-20 21:36:21 UTC) #21
Jeffrey Yasskin
https://codereview.chromium.org/1120373004/diff/240001/content/browser/bluetooth/bluetooth_dispatcher_host.cc File content/browser/bluetooth/bluetooth_dispatcher_host.cc (right): https://codereview.chromium.org/1120373004/diff/240001/content/browser/bluetooth/bluetooth_dispatcher_host.cc#newcode110 content/browser/bluetooth/bluetooth_dispatcher_host.cc:110: // NetworkError. Is a device_instance_id that doesn't map to ...
5 years, 7 months ago (2015-05-20 22:19:48 UTC) #22
Jeffrey Yasskin
https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode184 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:184: BluetoothDevice* device_ptr = device.get(); On 2015/05/20 21:32:13, scheib wrote: ...
5 years, 7 months ago (2015-05-20 22:29:25 UTC) #23
ortuno
Ready for review again. https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode184 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:184: BluetoothDevice* device_ptr = device.get(); On ...
5 years, 7 months ago (2015-05-20 23:35:20 UTC) #24
Jeffrey Yasskin
LGTM, thanks! https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc (right): https://codereview.chromium.org/1120373004/diff/220001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc#newcode184 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.cc:184: BluetoothDevice* device_ptr = device.get(); On 2015/05/20 23:35:19, ...
5 years, 7 months ago (2015-05-21 00:12:01 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1120373004/280001
5 years, 7 months ago (2015-05-21 00:15:10 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:280001)
5 years, 7 months ago (2015-05-21 04:35:33 UTC) #29
commit-bot: I haz the power
5 years, 7 months ago (2015-05-21 04:40:59 UTC) #30
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/87896a75a8d3e794a5ab7333fc0d249854d3124e
Cr-Commit-Position: refs/heads/master@{#330883}

Powered by Google App Engine
This is Rietveld 408576698