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

Issue 2448713002: bluetooth: Add Device connection logic and accompanying user interface. (Closed)

Created:
4 years, 1 month ago by mbrunson
Modified:
4 years, 1 month ago
CC:
Aaron Boodman, abarth-chromium, arv+watch_chromium.org, chromium-reviews, darin (slow to review), ortuno+watch_chromium.org, qsr+mojo_chromium.org, scheib+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Add Device connection logic and accompanying user interface. Changes Device interface to require a BluetoothGattConnection and Device interface request. Binds lifetime of Device to lifetime of BluetoothGattConnection and message pipe. Changes GetDevice function to ConnectToDevice. Adds ConnectError codes for device connections. Adds GetServices function to Device to list discovered services. Adds associated user interface components for connecting to a listed device. BUG=651282 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/32391c11bdd0921e21331620fedf513b89a6a48d Cr-Commit-Position: refs/heads/master@{#433332}

Patch Set 1 #

Total comments: 24

Patch Set 2 : Renaming mojom, ConnectErrorCode changes #

Total comments: 10

Patch Set 3 : Device changes, add device unit tests #

Patch Set 4 : Major reorganization of Mojo interface code and DeviceCollection #

Patch Set 5 : Merge upstream patch #

Total comments: 8

Patch Set 6 : Change tests, ConnectErrorCode -> ConnectResult #

Total comments: 33

Patch Set 7 : More tests, more comments #

Total comments: 10

Patch Set 8 : Unwrap service calls, simply tests #

Total comments: 2

Patch Set 9 : Merge upstream, add connectToDevice to AdapterBroker #

Patch Set 10 : Add comment to AdapterBroker.connectToDevice #

Patch Set 11 : Merge upstream #

Patch Set 12 : Merge upstream, adapt device connection logic to AdapterBroker #

Patch Set 13 : Merge upstream #

Patch Set 14 : Add device connection helper #

Patch Set 15 : Move device connection helper use to device_unittest #

Patch Set 16 : Add @private to device_table #

Patch Set 17 : Merge upstream #

Patch Set 18 : Test changes, fix device connection helper #

Patch Set 19 : Add comment for SetCallbackRan function in device connection helper #

Total comments: 14

Patch Set 20 : Add pub/sub system for device events, various issue fixes #

Total comments: 18

Patch Set 21 : Device connection organizational changes #

Patch Set 22 : Move removed statement in DeviceCollection.addOrUpdate #

Total comments: 14

Patch Set 23 : Renaming, bug fixes #

Patch Set 24 : Fix naming, merge upstream #

Total comments: 24

Patch Set 25 : Fix comments, add ConnectionStatus enum, other fixes #

Total comments: 39

Patch Set 26 : Merge upstream, fix issues #

Total comments: 6

Patch Set 27 : Fix errors #

Patch Set 28 : Change Device binding, fix tests, remove DeviceConnectionHelper #

Patch Set 29 : Remove GetConnectionError #

Total comments: 9

Patch Set 30 : Add Device.Create, fix tests #

Patch Set 31 : Simplify tests #

Patch Set 32 : Remove extra RunLoop #

Total comments: 4

Patch Set 33 : Fix device.cc issues #

Total comments: 12

Patch Set 34 : Fix tests, adapter_broker.js, change Device.Create #

Patch Set 35 : Add TypeConverter for ConnectResult #

Total comments: 4

Patch Set 36 : Remove binding variable in Device.Create #

Unified diffs Side-by-side diffs Delta from patch set Stats (+721 lines, -59 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/adapter_broker.js 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 25 26 27 28 29 30 31 32 33 1 chunk +25 lines, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/bluetooth_internals.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/bluetooth_internals.js 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 25 26 27 2 chunks +47 lines, -0 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/device_collection.js 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 25 4 chunks +48 lines, -23 lines 0 comments Download
M chrome/browser/resources/bluetooth_internals/device_table.js 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 25 4 chunks +71 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +2 lines, -0 lines 0 comments Download
M device/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M device/bluetooth/BUILD.gn 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 25 26 27 28 29 30 31 32 33 34 2 chunks +2 lines, -0 lines 0 comments Download
M device/bluetooth/adapter.h View 1 2 3 4 5 6 3 chunks +11 lines, -2 lines 0 comments Download
M device/bluetooth/adapter.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 25 26 27 28 29 30 31 32 33 34 3 chunks +31 lines, -7 lines 0 comments Download
M device/bluetooth/device.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 25 26 27 28 29 30 31 32 33 2 chunks +40 lines, -5 lines 0 comments Download
M device/bluetooth/device.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 25 26 27 28 29 30 31 32 33 34 35 3 chunks +95 lines, -11 lines 0 comments Download
A device/bluetooth/device_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 25 26 27 28 29 30 31 32 33 1 chunk +229 lines, -0 lines 0 comments Download
M device/bluetooth/public/interfaces/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
M device/bluetooth/public/interfaces/OWNERS 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 25 26 27 28 29 30 31 32 33 34 1 chunk +3 lines, -0 lines 0 comments Download
M device/bluetooth/public/interfaces/adapter.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +27 lines, -2 lines 0 comments Download
A device/bluetooth/public/interfaces/connect_result_type_converter.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 25 26 27 28 29 30 31 32 33 34 1 chunk +67 lines, -0 lines 0 comments Download
M device/bluetooth/public/interfaces/device.mojom View 1 2 2 chunks +14 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 94 (21 generated)
mbrunson
4 years, 1 month ago (2016-10-24 23:16:34 UTC) #3
ortuno
https://codereview.chromium.org/2448713002/diff/1/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/1/device/bluetooth/adapter.cc#newcode40 device/bluetooth/adapter.cc:40: if (device) { nit: To avoid indenting lines: if ...
4 years, 1 month ago (2016-10-25 10:42:10 UTC) #4
mbrunson
https://codereview.chromium.org/2448713002/diff/1/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/1/device/bluetooth/adapter.cc#newcode40 device/bluetooth/adapter.cc:40: if (device) { On 2016/10/25 10:42:09, ortuno wrote: > ...
4 years, 1 month ago (2016-10-25 20:03:04 UTC) #5
ortuno
https://codereview.chromium.org/2448713002/diff/1/device/bluetooth/device.cc File device/bluetooth/device.cc (right): https://codereview.chromium.org/2448713002/diff/1/device/bluetooth/device.cc#newcode15 device/bluetooth/device.cc:15: : adapter_(std::move(adapter)), connection_(std::move(connection)) {} On 2016/10/25 at 20:03:04, mbrunson ...
4 years, 1 month ago (2016-10-26 02:52:21 UTC) #6
mbrunson
https://codereview.chromium.org/2448713002/diff/1/device/bluetooth/device.cc File device/bluetooth/device.cc (right): https://codereview.chromium.org/2448713002/diff/1/device/bluetooth/device.cc#newcode15 device/bluetooth/device.cc:15: : adapter_(std::move(adapter)), connection_(std::move(connection)) {} On 2016/10/26 02:52:21, ortuno wrote: ...
4 years, 1 month ago (2016-10-28 21:06:48 UTC) #7
scheib
https://codereview.chromium.org/2448713002/diff/80001/device/bluetooth/device.h File device/bluetooth/device.h (right): https://codereview.chromium.org/2448713002/diff/80001/device/bluetooth/device.h#newcode53 device/bluetooth/device.h:53: Keep all overrides in one block (no blank lines). ...
4 years, 1 month ago (2016-10-31 20:46:18 UTC) #8
mbrunson
https://codereview.chromium.org/2448713002/diff/80001/device/bluetooth/device.h File device/bluetooth/device.h (right): https://codereview.chromium.org/2448713002/diff/80001/device/bluetooth/device.h#newcode53 device/bluetooth/device.h:53: On 2016/10/31 20:46:17, scheib wrote: > Keep all overrides ...
4 years, 1 month ago (2016-10-31 21:39:25 UTC) #9
scheib
https://codereview.chromium.org/2448713002/diff/100001/device/bluetooth/device_unittest.cc File device/bluetooth/device_unittest.cc (right): https://codereview.chromium.org/2448713002/diff/100001/device/bluetooth/device_unittest.cc#newcode151 device/bluetooth/device_unittest.cc:151: device_service_->GattServicesDiscovered(nullptr /* adapter */, device_.get()); high level comment: it's ...
4 years, 1 month ago (2016-10-31 22:46:55 UTC) #10
ortuno
https://codereview.chromium.org/2448713002/diff/100001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/100001/device/bluetooth/adapter.cc#newcode112 device/bluetooth/adapter.cc:112: mojom::ConnectResult Adapter::BluetoothErrorCodeToMojomResult( nit: Move this no an anonymous namespace ...
4 years, 1 month ago (2016-11-01 06:27:39 UTC) #12
mbrunson
https://codereview.chromium.org/2448713002/diff/100001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/100001/device/bluetooth/adapter.cc#newcode112 device/bluetooth/adapter.cc:112: mojom::ConnectResult Adapter::BluetoothErrorCodeToMojomResult( On 2016/11/01 06:27:39, ortuno wrote: > nit: ...
4 years, 1 month ago (2016-11-02 01:25:46 UTC) #13
ortuno
The device/bluetooth parts looks good. I haven't looked at the js part since it depends ...
4 years, 1 month ago (2016-11-02 07:56:04 UTC) #14
mbrunson
https://codereview.chromium.org/2448713002/diff/120001/device/bluetooth/device.cc File device/bluetooth/device.cc (right): https://codereview.chromium.org/2448713002/diff/120001/device/bluetooth/device.cc#newcode30 device/bluetooth/device.cc:30: if (has_pending_services_) { On 2016/11/02 07:56:04, ortuno wrote: > ...
4 years, 1 month ago (2016-11-02 21:57:08 UTC) #15
ortuno
https://codereview.chromium.org/2448713002/diff/140001/device/bluetooth/device_unittest.cc File device/bluetooth/device_unittest.cc (right): https://codereview.chromium.org/2448713002/diff/140001/device/bluetooth/device_unittest.cc#newcode188 device/bluetooth/device_unittest.cc:188: EXPECT_EQ(2, device_service_->GetPendingServiceRequestCountForTesting()); You could just check that callback_count_ is ...
4 years, 1 month ago (2016-11-02 23:09:55 UTC) #16
mbrunson
https://codereview.chromium.org/2448713002/diff/140001/device/bluetooth/device_unittest.cc File device/bluetooth/device_unittest.cc (right): https://codereview.chromium.org/2448713002/diff/140001/device/bluetooth/device_unittest.cc#newcode188 device/bluetooth/device_unittest.cc:188: EXPECT_EQ(2, device_service_->GetPendingServiceRequestCountForTesting()); On 2016/11/02 23:09:55, ortuno wrote: > You ...
4 years, 1 month ago (2016-11-03 18:50:19 UTC) #17
ortuno
https://codereview.chromium.org/2448713002/diff/120001/device/bluetooth/device_unittest.cc File device/bluetooth/device_unittest.cc (right): https://codereview.chromium.org/2448713002/diff/120001/device/bluetooth/device_unittest.cc#newcode185 device/bluetooth/device_unittest.cc:185: TEST_F(DeviceTest, GetServicesLostConnectionWithPendingRequests) { On 2016/11/02 at 21:57:08, mbrunson wrote: ...
4 years, 1 month ago (2016-11-04 01:50:42 UTC) #22
mbrunson
https://codereview.chromium.org/2448713002/diff/120001/device/bluetooth/device_unittest.cc File device/bluetooth/device_unittest.cc (right): https://codereview.chromium.org/2448713002/diff/120001/device/bluetooth/device_unittest.cc#newcode185 device/bluetooth/device_unittest.cc:185: TEST_F(DeviceTest, GetServicesLostConnectionWithPendingRequests) { On 2016/11/04 01:50:42, ortuno wrote: > ...
4 years, 1 month ago (2016-11-04 02:47:06 UTC) #23
ortuno
On 2016/11/04 at 02:47:06, mbrunson wrote: > https://codereview.chromium.org/2448713002/diff/120001/device/bluetooth/device_unittest.cc > File device/bluetooth/device_unittest.cc (right): > > https://codereview.chromium.org/2448713002/diff/120001/device/bluetooth/device_unittest.cc#newcode185 ...
4 years, 1 month ago (2016-11-04 03:01:27 UTC) #24
mbrunson
On 2016/11/04 03:01:27, ortuno wrote: > On 2016/11/04 at 02:47:06, mbrunson wrote: > > > ...
4 years, 1 month ago (2016-11-04 21:13:54 UTC) #25
ortuno
hmm could you upload the code where DeviceConnectionHelper is used. Also you could just include ...
4 years, 1 month ago (2016-11-06 22:47:53 UTC) #26
mbrunson
On 2016/11/06 22:47:53, ortuno wrote: > hmm could you upload the code where DeviceConnectionHelper is ...
4 years, 1 month ago (2016-11-07 22:06:26 UTC) #27
mbrunson
On 2016/11/07 22:06:26, mbrunson wrote: > On 2016/11/06 22:47:53, ortuno wrote: > > hmm could ...
4 years, 1 month ago (2016-11-08 00:30:56 UTC) #32
mbrunson
On 2016/11/07 22:06:26, mbrunson wrote: > On 2016/11/06 22:47:53, ortuno wrote: > > hmm could ...
4 years, 1 month ago (2016-11-08 00:30:59 UTC) #33
ortuno
https://codereview.chromium.org/2448713002/diff/360001/chrome/browser/resources/bluetooth_internals/device_collection.js File chrome/browser/resources/bluetooth_internals/device_collection.js (right): https://codereview.chromium.org/2448713002/diff/360001/chrome/browser/resources/bluetooth_internals/device_collection.js#newcode92 chrome/browser/resources/bluetooth_internals/device_collection.js:92: if (response.error == I would move this (if (response.error)... ...
4 years, 1 month ago (2016-11-08 04:38:02 UTC) #36
mbrunson
https://codereview.chromium.org/2448713002/diff/360001/chrome/browser/resources/bluetooth_internals/device_collection.js File chrome/browser/resources/bluetooth_internals/device_collection.js (right): https://codereview.chromium.org/2448713002/diff/360001/chrome/browser/resources/bluetooth_internals/device_collection.js#newcode92 chrome/browser/resources/bluetooth_internals/device_collection.js:92: if (response.error == On 2016/11/08 04:38:02, ortuno wrote: > ...
4 years, 1 month ago (2016-11-08 22:45:13 UTC) #37
ortuno
https://codereview.chromium.org/2448713002/diff/360001/chrome/browser/resources/bluetooth_internals/device_table.js File chrome/browser/resources/bluetooth_internals/device_table.js (right): https://codereview.chromium.org/2448713002/diff/360001/chrome/browser/resources/bluetooth_internals/device_table.js#newcode185 chrome/browser/resources/bluetooth_internals/device_table.js:185: var connectCell = row.cells[cellCount - 2]; On 2016/11/08 at ...
4 years, 1 month ago (2016-11-09 03:24:03 UTC) #38
mbrunson
https://codereview.chromium.org/2448713002/diff/360001/chrome/browser/resources/bluetooth_internals/device_table.js File chrome/browser/resources/bluetooth_internals/device_table.js (right): https://codereview.chromium.org/2448713002/diff/360001/chrome/browser/resources/bluetooth_internals/device_table.js#newcode185 chrome/browser/resources/bluetooth_internals/device_table.js:185: var connectCell = row.cells[cellCount - 2]; On 2016/11/09 03:24:03, ...
4 years, 1 month ago (2016-11-09 23:39:37 UTC) #39
ortuno
Some renames otherwise lgtm! https://codereview.chromium.org/2448713002/diff/420001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js File chrome/browser/resources/bluetooth_internals/bluetooth_internals.js (right): https://codereview.chromium.org/2448713002/diff/420001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js#newcode61 chrome/browser/resources/bluetooth_internals/bluetooth_internals.js:61: deviceProxy.getServices().then(function(response) { Should this information ...
4 years, 1 month ago (2016-11-10 02:16:39 UTC) #40
mbrunson
https://codereview.chromium.org/2448713002/diff/420001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js File chrome/browser/resources/bluetooth_internals/bluetooth_internals.js (right): https://codereview.chromium.org/2448713002/diff/420001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js#newcode61 chrome/browser/resources/bluetooth_internals/bluetooth_internals.js:61: deviceProxy.getServices().then(function(response) { On 2016/11/10 02:16:38, ortuno wrote: > Should ...
4 years, 1 month ago (2016-11-10 04:18:29 UTC) #41
mbrunson
OWNERS review, please: dcheng: device/bluetooth/public/interfaces/adapter.mojom device/bluetooth/public/interfaces/device.mojom dpapad: chrome/browser/browser_resources.grd chrome/browser/resources/bluetooth_internals/adapter_broker.js chrome/browser/resources/bluetooth_internals/bluetooth_internals.html chrome/browser/resources/bluetooth_internals/bluetooth_internals.js chrome/browser/resources/bluetooth_internals/device_collection.js chrome/browser/resources/bluetooth_internals/device_table.js chrome/browser/ui/webui/bluetooth_internals/bluetooth_internals_ui.cc
4 years, 1 month ago (2016-11-10 04:23:54 UTC) #43
dpapad
https://codereview.chromium.org/2448713002/diff/460001/chrome/browser/resources/bluetooth_internals/adapter_broker.js File chrome/browser/resources/bluetooth_internals/adapter_broker.js (right): https://codereview.chromium.org/2448713002/diff/460001/chrome/browser/resources/bluetooth_internals/adapter_broker.js#newcode32 chrome/browser/resources/bluetooth_internals/adapter_broker.js:32: * @return {Promise<interfaces.BluetoothDevice.Device.proxyClass>} !Promise<!...> https://codereview.chromium.org/2448713002/diff/460001/chrome/browser/resources/bluetooth_internals/adapter_broker.js#newcode40 chrome/browser/resources/bluetooth_internals/adapter_broker.js:40: var errorString = ...
4 years, 1 month ago (2016-11-10 19:05:03 UTC) #44
mbrunson
https://codereview.chromium.org/2448713002/diff/460001/chrome/browser/resources/bluetooth_internals/adapter_broker.js File chrome/browser/resources/bluetooth_internals/adapter_broker.js (right): https://codereview.chromium.org/2448713002/diff/460001/chrome/browser/resources/bluetooth_internals/adapter_broker.js#newcode32 chrome/browser/resources/bluetooth_internals/adapter_broker.js:32: * @return {Promise<interfaces.BluetoothDevice.Device.proxyClass>} On 2016/11/10 19:05:02, dpapad wrote: > ...
4 years, 1 month ago (2016-11-10 22:02:22 UTC) #45
dpapad
LGTM with nits. https://codereview.chromium.org/2448713002/diff/480001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js File chrome/browser/resources/bluetooth_internals/bluetooth_internals.js (right): https://codereview.chromium.org/2448713002/diff/480001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js#newcode57 chrome/browser/resources/bluetooth_internals/bluetooth_internals.js:57: adapterBroker.connectToDevice(address).then(function(deviceProxy) { Can you chain instead ...
4 years, 1 month ago (2016-11-10 22:33:20 UTC) #46
dpapad
https://codereview.chromium.org/2448713002/diff/480001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js File chrome/browser/resources/bluetooth_internals/bluetooth_internals.js (right): https://codereview.chromium.org/2448713002/diff/480001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js#newcode57 chrome/browser/resources/bluetooth_internals/bluetooth_internals.js:57: adapterBroker.connectToDevice(address).then(function(deviceProxy) { On 2016/11/10 at 22:33:20, dpapad wrote: > ...
4 years, 1 month ago (2016-11-10 22:33:59 UTC) #47
dcheng
https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc#newcode15 device/bluetooth/adapter.cc:15: device::BluetoothDevice::ConnectErrorCode error_code) { Let's use EnumTraits for this: https://www.chromium.org/developers/design-documents/mojo/type-mapping ...
4 years, 1 month ago (2016-11-11 01:25:33 UTC) #48
mbrunson
https://codereview.chromium.org/2448713002/diff/480001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js File chrome/browser/resources/bluetooth_internals/bluetooth_internals.js (right): https://codereview.chromium.org/2448713002/diff/480001/chrome/browser/resources/bluetooth_internals/bluetooth_internals.js#newcode57 chrome/browser/resources/bluetooth_internals/bluetooth_internals.js:57: adapterBroker.connectToDevice(address).then(function(deviceProxy) { On 2016/11/10 22:33:59, dpapad wrote: > On ...
4 years, 1 month ago (2016-11-11 21:26:15 UTC) #49
dcheng
https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc#newcode15 device/bluetooth/adapter.cc:15: device::BluetoothDevice::ConnectErrorCode error_code) { On 2016/11/11 21:26:15, mbrunson wrote: > ...
4 years, 1 month ago (2016-11-15 07:24:02 UTC) #50
mbrunson
https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/device.cc File device/bluetooth/device.cc (right): https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/device.cc#newcode22 device/bluetooth/device.cc:22: base::Bind(&Device::Disconnect, base::Unretained(this))); On 2016/11/15 07:24:02, dcheng wrote: > On ...
4 years, 1 month ago (2016-11-15 21:50:35 UTC) #51
ortuno
https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/device.cc File device/bluetooth/device.cc (right): https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/device.cc#newcode22 device/bluetooth/device.cc:22: base::Bind(&Device::Disconnect, base::Unretained(this))); On 2016/11/15 at 21:50:35, mbrunson wrote: > ...
4 years, 1 month ago (2016-11-15 21:58:09 UTC) #52
dcheng
On 2016/11/15 21:58:09, ortuno wrote: > https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/device.cc > File device/bluetooth/device.cc (right): > > https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/device.cc#newcode22 > ...
4 years, 1 month ago (2016-11-15 22:07:36 UTC) #53
dcheng
On 2016/11/15 22:07:36, dcheng wrote: > On 2016/11/15 21:58:09, ortuno wrote: > > > https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/device.cc ...
4 years, 1 month ago (2016-11-15 22:08:40 UTC) #55
ortuno
On 2016/11/15 at 22:08:40, dcheng wrote: > On 2016/11/15 22:07:36, dcheng wrote: > > On ...
4 years, 1 month ago (2016-11-15 22:31:44 UTC) #56
dcheng
On 2016/11/15 22:31:44, ortuno wrote: > On 2016/11/15 at 22:08:40, dcheng wrote: > > On ...
4 years, 1 month ago (2016-11-15 22:44:46 UTC) #57
ortuno
On 2016/11/15 at 22:44:46, dcheng wrote: > On 2016/11/15 22:31:44, ortuno wrote: > > On ...
4 years, 1 month ago (2016-11-15 22:51:57 UTC) #58
dcheng
On 2016/11/15 22:51:57, ortuno wrote: > On 2016/11/15 at 22:44:46, dcheng wrote: > > On ...
4 years, 1 month ago (2016-11-15 23:00:55 UTC) #59
ortuno
On 2016/11/15 at 23:00:55, dcheng wrote: > On 2016/11/15 22:51:57, ortuno wrote: > > On ...
4 years, 1 month ago (2016-11-15 23:09:07 UTC) #60
mbrunson
On 2016/11/15 23:09:07, ortuno wrote: > On 2016/11/15 at 23:00:55, dcheng wrote: > > On ...
4 years, 1 month ago (2016-11-15 23:11:39 UTC) #61
mbrunson
https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc#newcode15 device/bluetooth/adapter.cc:15: device::BluetoothDevice::ConnectErrorCode error_code) { On 2016/11/15 07:24:02, dcheng wrote: > ...
4 years, 1 month ago (2016-11-16 03:32:04 UTC) #62
ortuno
https://codereview.chromium.org/2448713002/diff/560001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/560001/device/bluetooth/adapter.cc#newcode147 device/bluetooth/adapter.cc:147: device->SetStrongBindingPtr(binding); Can this be done in Device? Similar to ...
4 years, 1 month ago (2016-11-16 04:53:18 UTC) #63
mbrunson
https://codereview.chromium.org/2448713002/diff/560001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/560001/device/bluetooth/adapter.cc#newcode147 device/bluetooth/adapter.cc:147: device->SetStrongBindingPtr(binding); On 2016/11/16 04:53:17, ortuno wrote: > Can this ...
4 years, 1 month ago (2016-11-16 22:17:04 UTC) #64
dcheng
https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc#newcode15 device/bluetooth/adapter.cc:15: device::BluetoothDevice::ConnectErrorCode error_code) { On 2016/11/16 03:32:03, mbrunson wrote: > ...
4 years, 1 month ago (2016-11-17 01:31:48 UTC) #65
mbrunson
https://codereview.chromium.org/2448713002/diff/620001/device/bluetooth/device.cc File device/bluetooth/device.cc (right): https://codereview.chromium.org/2448713002/diff/620001/device/bluetooth/device.cc#newcode27 device/bluetooth/device.cc:27: auto* deviceImpl = new Device(adapter, std::move(connection)); On 2016/11/17 01:31:47, ...
4 years, 1 month ago (2016-11-17 03:34:43 UTC) #66
ortuno
https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc#newcode15 device/bluetooth/adapter.cc:15: device::BluetoothDevice::ConnectErrorCode error_code) { On 2016/11/17 at 01:31:47, dcheng wrote: ...
4 years, 1 month ago (2016-11-17 03:54:45 UTC) #67
mbrunson
https://codereview.chromium.org/2448713002/diff/640001/chrome/browser/resources/bluetooth_internals/adapter_broker.js File chrome/browser/resources/bluetooth_internals/adapter_broker.js (right): https://codereview.chromium.org/2448713002/diff/640001/chrome/browser/resources/bluetooth_internals/adapter_broker.js#newcode41 chrome/browser/resources/bluetooth_internals/adapter_broker.js:41: var errorString = ''; On 2016/11/17 03:54:45, ortuno wrote: ...
4 years, 1 month ago (2016-11-17 19:33:33 UTC) #68
mbrunson
https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc#newcode15 device/bluetooth/adapter.cc:15: device::BluetoothDevice::ConnectErrorCode error_code) { On 2016/11/17 01:31:47, dcheng wrote: > ...
4 years, 1 month ago (2016-11-17 21:28:01 UTC) #69
dcheng
https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc#newcode15 device/bluetooth/adapter.cc:15: device::BluetoothDevice::ConnectErrorCode error_code) { On 2016/11/17 21:28:01, mbrunson wrote: > ...
4 years, 1 month ago (2016-11-17 21:35:36 UTC) #70
ortuno
On 2016/11/17 at 21:35:36, dcheng wrote: > https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc > File device/bluetooth/adapter.cc (right): > > https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc#newcode15 ...
4 years, 1 month ago (2016-11-17 22:27:30 UTC) #71
mbrunson
https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc#newcode15 device/bluetooth/adapter.cc:15: device::BluetoothDevice::ConnectErrorCode error_code) { On 2016/11/17 21:35:36, dcheng wrote: > ...
4 years, 1 month ago (2016-11-17 23:00:44 UTC) #72
dcheng
On 2016/11/17 23:00:44, mbrunson wrote: > https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc > File device/bluetooth/adapter.cc (right): > > https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc#newcode15 > ...
4 years, 1 month ago (2016-11-17 23:13:20 UTC) #73
ortuno
On 2016/11/17 at 23:13:20, dcheng wrote: > On 2016/11/17 23:00:44, mbrunson wrote: > > https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc ...
4 years, 1 month ago (2016-11-17 23:23:51 UTC) #74
ortuno
On 2016/11/17 at 23:23:51, ortuno wrote: > On 2016/11/17 at 23:13:20, dcheng wrote: > > ...
4 years, 1 month ago (2016-11-17 23:24:21 UTC) #75
dcheng
On 2016/11/17 23:24:21, ortuno wrote: > On 2016/11/17 at 23:23:51, ortuno wrote: > > On ...
4 years, 1 month ago (2016-11-17 23:27:42 UTC) #76
ortuno
On 2016/11/17 at 23:27:42, dcheng wrote: > On 2016/11/17 23:24:21, ortuno wrote: > > On ...
4 years, 1 month ago (2016-11-17 23:43:30 UTC) #77
dcheng
On 2016/11/17 23:43:30, ortuno wrote: > On 2016/11/17 at 23:27:42, dcheng wrote: > > On ...
4 years, 1 month ago (2016-11-18 00:13:38 UTC) #78
ortuno
On 2016/11/18 at 00:13:38, dcheng wrote: > On 2016/11/17 23:43:30, ortuno wrote: > > On ...
4 years, 1 month ago (2016-11-18 00:15:26 UTC) #79
mbrunson
On 2016/11/18 00:15:26, ortuno wrote: > On 2016/11/18 at 00:13:38, dcheng wrote: > > On ...
4 years, 1 month ago (2016-11-18 00:22:24 UTC) #80
mbrunson
https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc File device/bluetooth/adapter.cc (right): https://codereview.chromium.org/2448713002/diff/480001/device/bluetooth/adapter.cc#newcode15 device/bluetooth/adapter.cc:15: device::BluetoothDevice::ConnectErrorCode error_code) { On 2016/11/17 23:00:43, mbrunson wrote: > ...
4 years, 1 month ago (2016-11-18 01:53:06 UTC) #81
dcheng
lgtm with a nit https://codereview.chromium.org/2448713002/diff/680001/device/bluetooth/device.cc File device/bluetooth/device.cc (right): https://codereview.chromium.org/2448713002/diff/680001/device/bluetooth/device.cc#newcode23 device/bluetooth/device.cc:23: auto* device_ptr = device_impl.get(); Nit: ...
4 years, 1 month ago (2016-11-18 19:27:03 UTC) #82
mbrunson
ortuno and scheib: Let me know if you want me to move the connect_result_type_converter file ...
4 years, 1 month ago (2016-11-18 20:55:14 UTC) #83
dcheng
https://codereview.chromium.org/2448713002/diff/680001/device/bluetooth/device.cc File device/bluetooth/device.cc (right): https://codereview.chromium.org/2448713002/diff/680001/device/bluetooth/device.cc#newcode23 device/bluetooth/device.cc:23: auto* device_ptr = device_impl.get(); On 2016/11/18 20:55:14, mbrunson wrote: ...
4 years, 1 month ago (2016-11-18 20:58:41 UTC) #86
mbrunson
https://codereview.chromium.org/2448713002/diff/680001/device/bluetooth/device.cc File device/bluetooth/device.cc (right): https://codereview.chromium.org/2448713002/diff/680001/device/bluetooth/device.cc#newcode23 device/bluetooth/device.cc:23: auto* device_ptr = device_impl.get(); On 2016/11/18 20:58:41, dcheng wrote: ...
4 years, 1 month ago (2016-11-18 21:39:17 UTC) #87
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/2448713002/700001
4 years, 1 month ago (2016-11-18 21:40:15 UTC) #90
commit-bot: I haz the power
Committed patchset #36 (id:700001)
4 years, 1 month ago (2016-11-18 23:42:52 UTC) #92
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 23:44:57 UTC) #94
Message was sent while issue was closed.
Patchset 36 (id:??) landed as
https://crrev.com/32391c11bdd0921e21331620fedf513b89a6a48d
Cr-Commit-Position: refs/heads/master@{#433332}

Powered by Google App Engine
This is Rietveld 408576698