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

Issue 2149713002: arc: bluetooth: Add SDP host side support (Closed)

Created:
4 years, 5 months ago by Miao
Modified:
4 years, 3 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: bluetooth: Add SDP host side support This implements the Chrome side support for Service Discovery Protocol. - Retrieve SDP records from a remote device - Create/remove a SDP record for the local device - Convert service record/attribute between Chrome and Mojo BUG=b:29314637 TEST=None (The manual test is blocked on chromium:627907.) Committed: https://crrev.com/702552c9b1fb144ae942387b22a772ec545c1008 Cr-Commit-Position: refs/heads/master@{#417210}

Patch Set 1 #

Total comments: 23

Patch Set 2 : Addresses comments on patch set 1 #

Total comments: 10

Patch Set 3 : Update bluetooth.mojom and change type converter accordingly #

Total comments: 4

Patch Set 4 : Change GetSdpRecords() to be async and add OnGetSdpRecords() to BluetoothInstance interface #

Total comments: 24

Patch Set 5 : Address comments on patch set 4 #

Total comments: 4

Patch Set 6 : Adopt typemap for type conversion and use base::ListValue for passing variants #

Patch Set 7 : Rebase against issue 2254973006 #

Patch Set 8 : Fix tryjob failures #

Total comments: 2

Patch Set 9 : Fix nit in bluetooth.mojom #

Patch Set 10 : Rebase after issue 2254973006 landed #

Patch Set 11 : Remove unused includes #

Total comments: 11

Patch Set 12 : Address security concern by defining attribute layer structures and add type mappings for new struc… #

Patch Set 13 : arc: bluetooth: Add SDP host side support #

Total comments: 1

Patch Set 14 : arc: bluetooth: Add SDP host side support #

Patch Set 15 : arc: bluetooth: Add SDP host side support #

Total comments: 8

Patch Set 16 : Rewind to the previous approach using generic attribute and type converter #

Total comments: 20

Patch Set 17 : Add unittests for type convertors #

Patch Set 18 : Rebase against issue 2302963002. #

Total comments: 3

Patch Set 19 : Fix trybot failures. #

Total comments: 11

Patch Set 20 : Fix nits. #

Patch Set 21 : Rebase on ToT. #

Total comments: 20

Patch Set 22 : Address comments on patch set 21 and rebase on ToT #

Total comments: 3

Patch Set 23 : arc: bluetooth: Add SDP host side support #

Patch Set 24 : arc: bluetooth: Add SDP host side support #

Patch Set 25 : arc: bluetooth: Add SDP host side support #

Unified diffs Side-by-side diffs Delta from patch set Stats (+925 lines, -8 lines) Patch
M components/arc/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/arc/bluetooth/arc_bluetooth_bridge.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +17 lines, -0 lines 0 comments Download
M components/arc/bluetooth/arc_bluetooth_bridge.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 8 chunks +147 lines, -4 lines 0 comments Download
M components/arc/bluetooth/bluetooth_struct_traits.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +44 lines, -0 lines 0 comments Download
M components/arc/bluetooth/bluetooth_type_converters.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +52 lines, -0 lines 0 comments Download
M components/arc/bluetooth/bluetooth_type_converters.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +161 lines, -0 lines 0 comments Download
M components/arc/bluetooth/bluetooth_type_converters_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +427 lines, -0 lines 0 comments Download
M components/arc/common/bluetooth.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 4 chunks +56 lines, -2 lines 0 comments Download
M components/arc/common/bluetooth.typemap View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +8 lines, -2 lines 0 comments Download
M components/arc/test/fake_bluetooth_instance.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -0 lines 0 comments Download
M components/arc/test/fake_bluetooth_instance.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 149 (74 generated)
Miao
Hi Opal and Rahul, PTAL at this patch. Thanks. :)
4 years, 5 months ago (2016-07-13 18:39:23 UTC) #2
Luis Héctor Chávez
drive-by https://codereview.chromium.org/2149713002/diff/1/components/arc/common/bluetooth.mojom File components/arc/common/bluetooth.mojom (right): https://codereview.chromium.org/2149713002/diff/1/components/arc/common/bluetooth.mojom#newcode229 components/arc/common/bluetooth.mojom:229: enum BluetoothSdpAttrType { Does this need an [Exetnsible] ...
4 years, 5 months ago (2016-07-13 18:52:46 UTC) #4
puthik_chromium
First pass https://codereview.chromium.org/2149713002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode978 components/arc/bluetooth/arc_bluetooth_bridge.cc:978: } Remove line 975-978? This codes does ...
4 years, 5 months ago (2016-07-14 01:32:35 UTC) #5
Luis Héctor Chávez
https://codereview.chromium.org/2149713002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode967 components/arc/bluetooth/arc_bluetooth_bridge.cc:967: void ArcBluetoothBridge::OnGetServiceRecordsDone( This function doesn't seem to need any ...
4 years, 5 months ago (2016-07-14 23:13:14 UTC) #6
Miao
https://codereview.chromium.org/2149713002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/1/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode967 components/arc/bluetooth/arc_bluetooth_bridge.cc:967: void ArcBluetoothBridge::OnGetServiceRecordsDone( On 2016/07/14 23:13:14, Luis Héctor Chávez wrote: ...
4 years, 5 months ago (2016-07-15 08:39:21 UTC) #7
Luis Héctor Chávez
https://codereview.chromium.org/2149713002/diff/1/components/arc/bluetooth/bluetooth_type_converters.cc File components/arc/bluetooth/bluetooth_type_converters.cc (right): https://codereview.chromium.org/2149713002/diff/1/components/arc/bluetooth/bluetooth_type_converters.cc#newcode40 components/arc/bluetooth/bluetooth_type_converters.cc:40: uint8_t* value = (uint8_t*)malloc(sizeof(uint8_t) * size); On 2016/07/15 08:39:21, ...
4 years, 5 months ago (2016-07-18 15:42:02 UTC) #8
puthik_chromium
https://codereview.chromium.org/2149713002/diff/20001/components/arc/common/bluetooth.mojom File components/arc/common/bluetooth.mojom (right): https://codereview.chromium.org/2149713002/diff/20001/components/arc/common/bluetooth.mojom#newcode328 components/arc/common/bluetooth.mojom:328: // Bluetooth SDP functions FYI: I'm going to land ...
4 years, 4 months ago (2016-07-25 18:44:16 UTC) #9
Miao
https://codereview.chromium.org/2149713002/diff/1/components/arc/bluetooth/bluetooth_type_converters.cc File components/arc/bluetooth/bluetooth_type_converters.cc (right): https://codereview.chromium.org/2149713002/diff/1/components/arc/bluetooth/bluetooth_type_converters.cc#newcode40 components/arc/bluetooth/bluetooth_type_converters.cc:40: uint8_t* value = (uint8_t*)malloc(sizeof(uint8_t) * size); On 2016/07/18 15:42:02, ...
4 years, 4 months ago (2016-07-26 07:20:45 UTC) #10
rkc
bluetooth usage lgtm (%nits) https://codereview.chromium.org/2149713002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode31 components/arc/bluetooth/arc_bluetooth_bridge.cc:31: #include "device/bluetooth/bluetooth_remote_gatt_characteristic.h" Not needed? This ...
4 years, 4 months ago (2016-07-27 01:34:56 UTC) #15
Miao
https://codereview.chromium.org/2149713002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/40001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode31 components/arc/bluetooth/arc_bluetooth_bridge.cc:31: #include "device/bluetooth/bluetooth_remote_gatt_characteristic.h" On 2016/07/27 01:34:56, rkc wrote: > Not ...
4 years, 4 months ago (2016-08-10 15:32:20 UTC) #16
Miao
4 years, 4 months ago (2016-08-10 15:32:23 UTC) #17
Miao
Hello Luis, there are changes on bluetooth.mojom, can you take a look? Thanks.
4 years, 4 months ago (2016-08-10 15:55:35 UTC) #18
Miao
Hello Ricky, Can you help with the security review? Thanks.
4 years, 4 months ago (2016-08-12 03:56:24 UTC) #20
Luis Héctor Chávez
I'm still trying to get the typemaps working on Android to avoid all that scary ...
4 years, 4 months ago (2016-08-16 15:56:04 UTC) #21
rickyz (no longer on Chrome)
Adding dcheng@, as he might have more opinions about TypeConverters vs. type mapping (I'm not ...
4 years, 4 months ago (2016-08-16 23:55:08 UTC) #22
rickyz (no longer on Chrome)
https://codereview.chromium.org/2149713002/diff/60001/components/arc/common/bluetooth.mojom File components/arc/common/bluetooth.mojom (right): https://codereview.chromium.org/2149713002/diff/60001/components/arc/common/bluetooth.mojom#newcode244 components/arc/common/bluetooth.mojom:244: array<uint8> value; On 2016/08/16 at 23:55:07, rickyz wrote: > ...
4 years, 4 months ago (2016-08-17 00:20:31 UTC) #23
dcheng
This should definitely by a type map rather than a type converter. So let's do ...
4 years, 4 months ago (2016-08-17 00:26:52 UTC) #25
dcheng
On 2016/08/17 00:26:52, dcheng wrote: > This should definitely by a type map rather than ...
4 years, 4 months ago (2016-08-17 00:27:33 UTC) #26
Miao
https://codereview.chromium.org/2149713002/diff/60001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/60001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1374 components/arc/bluetooth/arc_bluetooth_bridge.cc:1374: bluez::BluetoothDeviceBlueZ* device_bluez = On 2016/08/16 23:55:07, rickyz wrote: > ...
4 years, 4 months ago (2016-08-17 14:30:20 UTC) #27
Miao
On 2016/08/17 00:26:52, dcheng wrote: > This should definitely by a type map rather than ...
4 years, 4 months ago (2016-08-17 14:33:56 UTC) #28
Miao
4 years, 4 months ago (2016-08-17 14:34:27 UTC) #30
Miao
On 2016/08/17 00:27:33, dcheng wrote: > On 2016/08/17 00:26:52, dcheng wrote: > > This should ...
4 years, 4 months ago (2016-08-17 14:54:12 UTC) #31
dcheng
On 2016/08/17 14:33:56, Miao wrote: > On 2016/08/17 00:26:52, dcheng wrote: > > This should ...
4 years, 4 months ago (2016-08-17 17:21:08 UTC) #32
dcheng
On 2016/08/17 14:54:12, Miao wrote: > On 2016/08/17 00:27:33, dcheng wrote: > > On 2016/08/17 ...
4 years, 4 months ago (2016-08-17 17:22:16 UTC) #33
Luis Héctor Chávez
On 2016/08/17 17:22:16, dcheng wrote: > On 2016/08/17 14:54:12, Miao wrote: > > On 2016/08/17 ...
4 years, 4 months ago (2016-08-17 17:25:04 UTC) #34
rickyz (no longer on Chrome)
https://codereview.chromium.org/2149713002/diff/60001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/60001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1374 components/arc/bluetooth/arc_bluetooth_bridge.cc:1374: bluez::BluetoothDeviceBlueZ* device_bluez = On 2016/08/17 at 14:30:19, Miao wrote: ...
4 years, 4 months ago (2016-08-17 18:54:55 UTC) #35
rkc
https://codereview.chromium.org/2149713002/diff/60001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/60001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1374 components/arc/bluetooth/arc_bluetooth_bridge.cc:1374: bluez::BluetoothDeviceBlueZ* device_bluez = On 2016/08/17 18:54:54, rickyz wrote: > ...
4 years, 4 months ago (2016-08-17 19:16:14 UTC) #36
rickyz (no longer on Chrome)
https://codereview.chromium.org/2149713002/diff/60001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/60001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1374 components/arc/bluetooth/arc_bluetooth_bridge.cc:1374: bluez::BluetoothDeviceBlueZ* device_bluez = On 2016/08/17 at 19:16:13, rkc wrote: ...
4 years, 4 months ago (2016-08-17 19:32:26 UTC) #37
puthik_chromium
https://codereview.chromium.org/2149713002/diff/80001/components/arc/common/bluetooth.mojom File components/arc/common/bluetooth.mojom (right): https://codereview.chromium.org/2149713002/diff/80001/components/arc/common/bluetooth.mojom#newcode409 components/arc/common/bluetooth.mojom:409: [MinVersion=4] OnGetSdpRecords@16(BluetoothStatus status, You need to add function stub ...
4 years, 4 months ago (2016-08-17 22:24:20 UTC) #38
Luis Héctor Chávez
On 2016/08/17 17:25:04, Luis Héctor Chávez wrote: > On 2016/08/17 17:22:16, dcheng wrote: > > ...
4 years, 4 months ago (2016-08-18 04:34:12 UTC) #39
Miao
https://codereview.chromium.org/2149713002/diff/80001/components/arc/bluetooth/bluetooth_type_converters.cc File components/arc/bluetooth/bluetooth_type_converters.cc (right): https://codereview.chromium.org/2149713002/diff/80001/components/arc/bluetooth/bluetooth_type_converters.cc#newcode391 components/arc/bluetooth/bluetooth_type_converters.cc:391: bluez::BluetoothServiceAttributeValueBlueZ attr_bluez = On 2016/08/17 18:54:55, rickyz wrote: > ...
4 years, 4 months ago (2016-08-19 10:13:36 UTC) #44
Miao
On 2016/08/17 17:21:08, dcheng wrote: > On 2016/08/17 14:33:56, Miao wrote: > > On 2016/08/17 ...
4 years, 4 months ago (2016-08-19 10:15:08 UTC) #45
Miao
On 2016/08/18 04:34:12, Luis Héctor Chávez wrote: > On 2016/08/17 17:25:04, Luis Héctor Chávez wrote: ...
4 years, 4 months ago (2016-08-19 10:16:30 UTC) #46
puthik_chromium
https://codereview.chromium.org/2149713002/diff/140001/components/arc/common/bluetooth.mojom File components/arc/common/bluetooth.mojom (right): https://codereview.chromium.org/2149713002/diff/140001/components/arc/common/bluetooth.mojom#newcode264 components/arc/common/bluetooth.mojom:264: // Next Method ID: 40
4 years, 4 months ago (2016-08-19 17:38:53 UTC) #53
Miao
https://codereview.chromium.org/2149713002/diff/140001/components/arc/common/bluetooth.mojom File components/arc/common/bluetooth.mojom (right): https://codereview.chromium.org/2149713002/diff/140001/components/arc/common/bluetooth.mojom#newcode264 components/arc/common/bluetooth.mojom:264: On 2016/08/19 17:38:53, puthik_chromium wrote: > // Next Method ...
4 years, 4 months ago (2016-08-19 18:20:35 UTC) #54
puthik_chromium
rickyz@ PTAL about mojo change to avoid type recursion. https://codereview.chromium.org/2149713002/diff/60001/components/arc/bluetooth/bluetooth_type_converters.cc File components/arc/bluetooth/bluetooth_type_converters.cc (right): https://codereview.chromium.org/2149713002/diff/60001/components/arc/bluetooth/bluetooth_type_converters.cc#newcode307 components/arc/bluetooth/bluetooth_type_converters.cc:307: ...
4 years, 4 months ago (2016-08-19 21:21:56 UTC) #57
puthik_chromium
On 2016/08/19 21:21:56, puthik_chromium wrote: > rickyz@ PTAL about mojo change to avoid type recursion. ...
4 years, 4 months ago (2016-08-19 22:03:11 UTC) #58
rickyz (no longer on Chrome)
On 2016/08/19 at 22:03:11, puthik wrote: > On 2016/08/19 21:21:56, puthik_chromium wrote: > > rickyz@ ...
4 years, 4 months ago (2016-08-19 22:48:57 UTC) #59
dcheng
+yzshen I guess this will work for now, but we probably need something for base::ListValue ...
4 years, 4 months ago (2016-08-20 02:39:19 UTC) #61
yzshen1
On 2016/08/20 02:39:19, dcheng wrote: > +yzshen > > I guess this will work for ...
4 years, 4 months ago (2016-08-22 23:16:44 UTC) #62
yzshen1
https://codereview.chromium.org/2149713002/diff/200001/components/arc/bluetooth/bluetooth_struct_traits.cc File components/arc/bluetooth/bluetooth_struct_traits.cc (right): https://codereview.chromium.org/2149713002/diff/200001/components/arc/bluetooth/bluetooth_struct_traits.cc#newcode104 components/arc/bluetooth/bluetooth_struct_traits.cc:104: std::map<uint16_t, bluez::BluetoothServiceAttributeValueBlueZ> attributes; Performance tip: because |attributes| is not ...
4 years, 4 months ago (2016-08-22 23:42:15 UTC) #63
yzshen1
Puthikorn and I have had a chat about whether (1) using a recursive mojom BluetoothSdpServiceAttr ...
4 years, 4 months ago (2016-08-23 19:19:05 UTC) #64
yzshen1
On 2016/08/23 19:19:05, yzshen1 wrote: > Puthikorn and I have had a chat about whether ...
4 years, 4 months ago (2016-08-23 19:29:17 UTC) #65
puthik_chromium
https://codereview.chromium.org/2149713002/diff/200001/components/arc/bluetooth/bluetooth_struct_traits.cc File components/arc/bluetooth/bluetooth_struct_traits.cc (right): https://codereview.chromium.org/2149713002/diff/200001/components/arc/bluetooth/bluetooth_struct_traits.cc#newcode90 components/arc/bluetooth/bluetooth_struct_traits.cc:90: *output = bluez::BluetoothServiceAttributeValueBlueZ(std::move(sequence)); When I test this. Chrome crash ...
4 years, 4 months ago (2016-08-24 00:32:20 UTC) #66
Miao
https://codereview.chromium.org/2149713002/diff/200001/components/arc/bluetooth/bluetooth_struct_traits.cc File components/arc/bluetooth/bluetooth_struct_traits.cc (right): https://codereview.chromium.org/2149713002/diff/200001/components/arc/bluetooth/bluetooth_struct_traits.cc#newcode90 components/arc/bluetooth/bluetooth_struct_traits.cc:90: *output = bluez::BluetoothServiceAttributeValueBlueZ(std::move(sequence)); On 2016/08/24 00:32:20, puthik_chromium wrote: > ...
4 years, 3 months ago (2016-08-25 16:51:36 UTC) #67
puthik_chromium
https://codereview.chromium.org/2149713002/diff/240001/components/arc/bluetooth/bluetooth_struct_traits.h File components/arc/bluetooth/bluetooth_struct_traits.h (right): https://codereview.chromium.org/2149713002/diff/240001/components/arc/bluetooth/bluetooth_struct_traits.h#newcode70 components/arc/bluetooth/bluetooth_struct_traits.h:70: struct StructTraits<arc::mojom::BluetoothSdpAttributeLayer2, Add data view to template type here ...
4 years, 3 months ago (2016-08-25 18:44:54 UTC) #72
puthik_chromium
https://codereview.chromium.org/2149713002/diff/280001/components/arc/bluetooth/bluetooth_struct_traits.cc File components/arc/bluetooth/bluetooth_struct_traits.cc (right): https://codereview.chromium.org/2149713002/diff/280001/components/arc/bluetooth/bluetooth_struct_traits.cc#newcode382 components/arc/bluetooth/bluetooth_struct_traits.cc:382: *output = bluez::BluetoothServiceAttributeValueBlueZ( It crashes at this line when ...
4 years, 3 months ago (2016-08-26 01:05:36 UTC) #79
Miao
https://codereview.chromium.org/2149713002/diff/280001/components/arc/bluetooth/bluetooth_struct_traits.cc File components/arc/bluetooth/bluetooth_struct_traits.cc (right): https://codereview.chromium.org/2149713002/diff/280001/components/arc/bluetooth/bluetooth_struct_traits.cc#newcode382 components/arc/bluetooth/bluetooth_struct_traits.cc:382: *output = bluez::BluetoothServiceAttributeValueBlueZ( On 2016/08/26 01:05:35, puthik_chromium wrote: > ...
4 years, 3 months ago (2016-08-26 16:48:56 UTC) #80
yzshen1
The first set of comments... https://codereview.chromium.org/2149713002/diff/280001/components/arc/bluetooth/bluetooth_struct_traits.cc File components/arc/bluetooth/bluetooth_struct_traits.cc (right): https://codereview.chromium.org/2149713002/diff/280001/components/arc/bluetooth/bluetooth_struct_traits.cc#newcode32 components/arc/bluetooth/bluetooth_struct_traits.cc:32: return new bluez::BluetoothServiceAttributeValueBlueZ::Sequence( why ...
4 years, 3 months ago (2016-08-26 18:41:39 UTC) #81
yzshen1
The copy constructor of BluetoothServiceAttributeValueBlueZ is wrong. That might explain the issue you have seen. ...
4 years, 3 months ago (2016-08-26 18:46:22 UTC) #82
yzshen1
Sorry I meant the assignment operator On Aug 26, 2016 11:46 AM, Yuzhu Shen <yzshen@chromium.org> ...
4 years, 3 months ago (2016-08-26 18:47:33 UTC) #83
yzshen1
On Aug 26, 2016 11:46 AM, Yuzhu Shen <yzshen@chromium.org> wrote: > > The copy constructor ...
4 years, 3 months ago (2016-08-26 18:49:18 UTC) #84
Miao
In our last meeting, we agree on rewinding to the original approach where we define ...
4 years, 3 months ago (2016-08-27 13:57:18 UTC) #87
puthik_chromium
Just some nit. https://codereview.chromium.org/2149713002/diff/300001/components/arc/bluetooth/bluetooth_struct_traits.h File components/arc/bluetooth/bluetooth_struct_traits.h (right): https://codereview.chromium.org/2149713002/diff/300001/components/arc/bluetooth/bluetooth_struct_traits.h#newcode8 components/arc/bluetooth/bluetooth_struct_traits.h:8: #include <map> We didn't need all ...
4 years, 3 months ago (2016-08-28 00:05:39 UTC) #90
rickyz (no longer on Chrome)
https://codereview.chromium.org/2149713002/diff/300001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/300001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1476 components/arc/bluetooth/arc_bluetooth_bridge.cc:1476: std::vector<uint16_t> v = record.GetAttributeIds(); Wouldn't it be better to ...
4 years, 3 months ago (2016-08-29 00:48:06 UTC) #91
Miao
https://codereview.chromium.org/2149713002/diff/300001/components/arc/bluetooth/bluetooth_struct_traits.h File components/arc/bluetooth/bluetooth_struct_traits.h (right): https://codereview.chromium.org/2149713002/diff/300001/components/arc/bluetooth/bluetooth_struct_traits.h#newcode8 components/arc/bluetooth/bluetooth_struct_traits.h:8: #include <map> On 2016/08/28 00:05:39, puthik_chromium wrote: > We ...
4 years, 3 months ago (2016-09-01 18:37:24 UTC) #94
Miao
https://codereview.chromium.org/2149713002/diff/300001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/300001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode1476 components/arc/bluetooth/arc_bluetooth_bridge.cc:1476: std::vector<uint16_t> v = record.GetAttributeIds(); On 2016/08/29 00:48:06, rickyz wrote: ...
4 years, 3 months ago (2016-09-01 18:45:37 UTC) #97
yzshen1
I am a little sad about adding back type converters. But LGTM if dcheng is ...
4 years, 3 months ago (2016-09-01 23:34:11 UTC) #104
rickyz (no longer on Chrome)
lgtm with a few minor nits - thanks for adding the tests! https://codereview.chromium.org/2149713002/diff/340001/components/arc/bluetooth/bluetooth_type_converters.cc File components/arc/bluetooth/bluetooth_type_converters.cc ...
4 years, 3 months ago (2016-09-02 02:25:20 UTC) #105
Miao
https://codereview.chromium.org/2149713002/diff/360001/components/arc/BUILD.gn File components/arc/BUILD.gn (right): https://codereview.chromium.org/2149713002/diff/360001/components/arc/BUILD.gn#newcode166 components/arc/BUILD.gn:166: use_new_wrapper_types = false On 2016/09/01 23:34:11, yzshen1 wrote: > ...
4 years, 3 months ago (2016-09-02 18:10:08 UTC) #106
yzshen1
https://codereview.chromium.org/2149713002/diff/360001/components/arc/BUILD.gn File components/arc/BUILD.gn (right): https://codereview.chromium.org/2149713002/diff/360001/components/arc/BUILD.gn#newcode166 components/arc/BUILD.gn:166: use_new_wrapper_types = false On 2016/09/02 18:10:07, Miao wrote: > ...
4 years, 3 months ago (2016-09-06 17:41:32 UTC) #115
Luis Héctor Chávez
https://codereview.chromium.org/2149713002/diff/400001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/400001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode221 components/arc/bluetooth/arc_bluetooth_bridge.cc:221: bluez::BluetoothServiceRecordBlueZ::ErrorCode::ERROR_ADAPTER_NOT_READY) nit: you cannot elide the braces when the ...
4 years, 3 months ago (2016-09-06 17:42:30 UTC) #116
Luis Héctor Chávez
btw, if you want to merge this into M53, you want to have a crbug ...
4 years, 3 months ago (2016-09-06 18:00:09 UTC) #117
Miao
On 2016/09/06 17:41:32, yzshen1 wrote: > https://codereview.chromium.org/2149713002/diff/360001/components/arc/BUILD.gn > File components/arc/BUILD.gn (right): > > https://codereview.chromium.org/2149713002/diff/360001/components/arc/BUILD.gn#newcode166 > ...
4 years, 3 months ago (2016-09-06 22:29:09 UTC) #118
Miao
On 2016/09/06 17:41:32, yzshen1 wrote: > https://codereview.chromium.org/2149713002/diff/360001/components/arc/BUILD.gn > File components/arc/BUILD.gn (right): > > https://codereview.chromium.org/2149713002/diff/360001/components/arc/BUILD.gn#newcode166 > ...
4 years, 3 months ago (2016-09-06 22:29:14 UTC) #119
Miao
https://codereview.chromium.org/2149713002/diff/400001/components/arc/bluetooth/arc_bluetooth_bridge.cc File components/arc/bluetooth/arc_bluetooth_bridge.cc (right): https://codereview.chromium.org/2149713002/diff/400001/components/arc/bluetooth/arc_bluetooth_bridge.cc#newcode221 components/arc/bluetooth/arc_bluetooth_bridge.cc:221: bluez::BluetoothServiceRecordBlueZ::ErrorCode::ERROR_ADAPTER_NOT_READY) On 2016/09/06 17:42:29, Luis Héctor Chávez wrote: > ...
4 years, 3 months ago (2016-09-07 17:58:30 UTC) #120
Luis Héctor Chávez
lgtm with one more nit, but I still want to hear back from dcheng. https://codereview.chromium.org/2149713002/diff/420001/components/arc/bluetooth/bluetooth_type_converters.h ...
4 years, 3 months ago (2016-09-07 18:04:16 UTC) #123
Miao
https://codereview.chromium.org/2149713002/diff/420001/components/arc/bluetooth/bluetooth_type_converters.h File components/arc/bluetooth/bluetooth_type_converters.h (right): https://codereview.chromium.org/2149713002/diff/420001/components/arc/bluetooth/bluetooth_type_converters.h#newcode24 components/arc/bluetooth/bluetooth_type_converters.h:24: constexpr int kBluetoothSDPMaxDepth = 32; On 2016/09/07 18:04:16, Luis ...
4 years, 3 months ago (2016-09-07 22:25:48 UTC) #126
dcheng
rickyz already l-g-t-med, and he is a mojo reviewer, so his review is sufficient =) ...
4 years, 3 months ago (2016-09-07 22:28:58 UTC) #127
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2149713002/440001
4 years, 3 months ago (2016-09-07 22:35:58 UTC) #132
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/196296)
4 years, 3 months ago (2016-09-07 22:50:05 UTC) #134
Luis Héctor Chávez
https://codereview.chromium.org/2149713002/diff/420001/components/arc/bluetooth/bluetooth_type_converters.h File components/arc/bluetooth/bluetooth_type_converters.h (right): https://codereview.chromium.org/2149713002/diff/420001/components/arc/bluetooth/bluetooth_type_converters.h#newcode24 components/arc/bluetooth/bluetooth_type_converters.h:24: constexpr int kBluetoothSDPMaxDepth = 32; On 2016/09/07 22:25:47, Miao ...
4 years, 3 months ago (2016-09-07 22:52:24 UTC) #135
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2149713002/480001
4 years, 3 months ago (2016-09-08 06:35:23 UTC) #146
commit-bot: I haz the power
Committed patchset #25 (id:480001)
4 years, 3 months ago (2016-09-08 06:53:48 UTC) #147
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 06:55:46 UTC) #149
Message was sent while issue was closed.
Patchset 25 (id:??) landed as
https://crrev.com/702552c9b1fb144ae942387b22a772ec545c1008
Cr-Commit-Position: refs/heads/master@{#417210}

Powered by Google App Engine
This is Rietveld 408576698