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

Issue 2697763002: [CrOS Tether]: Create BleConnectionManager, which manages secure connections between the current de… (Closed)

Created:
3 years, 10 months ago by Kyle Horimoto
Modified:
3 years, 10 months ago
CC:
chromium-reviews, jlklein+watch-tether_chromium.org, tengs+watch-tether_chromium.org, hansberry+watch-tether_chromium.org, jhawkins+watch-tether_chromium.org, oshima+watch_chromium.org, khorimoto+watch-tether_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[CrOS Tether]: Create BleConnectionManager, which manages secure connections between the current device and remote devices. Once a device is registered, BleConnectionManager attempts to create a connection to it until a connection is created successfully or the device is unregistered. Once an authenticated connection is establisihed, messages can be exchanged between devices. BleConnectionManager BUG=672263 Review-Url: https://codereview.chromium.org/2697763002 Cr-Commit-Position: refs/heads/master@{#451502} Committed: https://chromium.googlesource.com/chromium/src/+/51d2457c22af0cbe490cdee3ad294e2ed6ce1fee

Patch Set 1 #

Total comments: 39

Patch Set 2 : hansberry@ comments. #

Total comments: 6

Patch Set 3 : hansberry@ comments. #

Total comments: 46

Patch Set 4 : hansberry@ comments. #

Total comments: 6

Patch Set 5 : hansberry@ comments. #

Patch Set 6 : Fix build breakage. #

Patch Set 7 : Fix compile error. #

Patch Set 8 : Add missing DEP. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2040 lines, -28 lines) Patch
M chromeos/components/tether/BUILD.gn View 1 2 3 4 5 6 7 4 chunks +5 lines, -0 lines 0 comments Download
M chromeos/components/tether/ble_advertiser.h View 1 chunk +4 lines, -2 lines 0 comments Download
A chromeos/components/tether/ble_connection_manager.h View 1 2 3 4 1 chunk +220 lines, -0 lines 0 comments Download
A chromeos/components/tether/ble_connection_manager.cc View 1 2 3 4 1 chunk +479 lines, -0 lines 0 comments Download
A chromeos/components/tether/ble_connection_manager_unittest.cc View 1 2 3 4 1 chunk +1137 lines, -0 lines 0 comments Download
M chromeos/components/tether/ble_constants.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/components/tether/ble_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/components/tether/ble_scanner.h View 3 chunks +5 lines, -4 lines 0 comments Download
M chromeos/components/tether/proto/tether.proto View 1 1 chunk +1 line, -1 line 0 comments Download
M components/cryptauth/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.cc View 2 chunks +2 lines, -2 lines 0 comments Download
A components/cryptauth/fake_secure_channel.h View 1 1 chunk +51 lines, -0 lines 0 comments Download
A components/cryptauth/fake_secure_channel.cc View 1 1 chunk +61 lines, -0 lines 0 comments Download
M components/cryptauth/secure_channel.h View 1 3 chunks +29 lines, -9 lines 0 comments Download
M components/cryptauth/secure_channel.cc View 1 2 chunks +30 lines, -5 lines 0 comments Download
M components/cryptauth/secure_channel_unittest.cc View 1 2 3 4 5 6 2 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 43 (20 generated)
Kyle Horimoto
3 years, 10 months ago (2017-02-14 02:58:17 UTC) #2
Ryan Hansberry
First pass. Have not looked at the test yet. https://codereview.chromium.org/2697763002/diff/1/chromeos/components/tether/ble_connection_manager.cc File chromeos/components/tether/ble_connection_manager.cc (right): https://codereview.chromium.org/2697763002/diff/1/chromeos/components/tether/ble_connection_manager.cc#newcode18 chromeos/components/tether/ble_connection_manager.cc:18: ...
3 years, 10 months ago (2017-02-14 18:27:29 UTC) #3
Kyle Horimoto
https://codereview.chromium.org/2697763002/diff/1/chromeos/components/tether/ble_connection_manager.cc File chromeos/components/tether/ble_connection_manager.cc (right): https://codereview.chromium.org/2697763002/diff/1/chromeos/components/tether/ble_connection_manager.cc#newcode18 chromeos/components/tether/ble_connection_manager.cc:18: const int64_t kAdvertisingTimeoutInSeconds = 12; On 2017/02/14 18:27:28, Ryan ...
3 years, 10 months ago (2017-02-14 22:54:46 UTC) #4
Ryan Hansberry
https://codereview.chromium.org/2697763002/diff/1/chromeos/components/tether/ble_connection_manager.cc File chromeos/components/tether/ble_connection_manager.cc (right): https://codereview.chromium.org/2697763002/diff/1/chromeos/components/tether/ble_connection_manager.cc#newcode61 chromeos/components/tether/ble_connection_manager.cc:61: BleConnectionManager::ConnectionMetadata::GetStatus() const { On 2017/02/14 22:54:45, Kyle Horimoto wrote: ...
3 years, 10 months ago (2017-02-15 18:56:03 UTC) #5
Kyle Horimoto
https://codereview.chromium.org/2697763002/diff/1/chromeos/components/tether/ble_connection_manager.cc File chromeos/components/tether/ble_connection_manager.cc (right): https://codereview.chromium.org/2697763002/diff/1/chromeos/components/tether/ble_connection_manager.cc#newcode61 chromeos/components/tether/ble_connection_manager.cc:61: BleConnectionManager::ConnectionMetadata::GetStatus() const { On 2017/02/15 18:56:02, Ryan Hansberry wrote: ...
3 years, 10 months ago (2017-02-15 22:24:14 UTC) #6
Ryan Hansberry
https://codereview.chromium.org/2697763002/diff/1/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.cc File components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.cc (right): https://codereview.chromium.org/2697763002/diff/1/components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.cc#newcode46 components/cryptauth/ble/bluetooth_low_energy_weave_client_connection.cc:46: std::unique_ptr<Connection> On 2017/02/14 22:54:46, Kyle Horimoto wrote: > On ...
3 years, 10 months ago (2017-02-16 19:29:37 UTC) #7
Kyle Horimoto
https://codereview.chromium.org/2697763002/diff/40001/chromeos/components/tether/ble_connection_manager.cc File chromeos/components/tether/ble_connection_manager.cc (right): https://codereview.chromium.org/2697763002/diff/40001/chromeos/components/tether/ble_connection_manager.cc#newcode19 chromeos/components/tether/ble_connection_manager.cc:19: const int64_t kShortErrorTimeoutMillis = 100; On 2017/02/16 19:29:35, Ryan ...
3 years, 10 months ago (2017-02-17 01:06:53 UTC) #8
Ryan Hansberry
lgtm with nits :) https://codereview.chromium.org/2697763002/diff/40001/chromeos/components/tether/ble_connection_manager.cc File chromeos/components/tether/ble_connection_manager.cc (right): https://codereview.chromium.org/2697763002/diff/40001/chromeos/components/tether/ble_connection_manager.cc#newcode70 chromeos/components/tether/ble_connection_manager.cc:70: BleConnectionManager::ConnectionMetadata::GetStatus() const { On 2017/02/17 ...
3 years, 10 months ago (2017-02-17 01:59:05 UTC) #9
Kyle Horimoto
https://codereview.chromium.org/2697763002/diff/40001/chromeos/components/tether/ble_connection_manager.cc File chromeos/components/tether/ble_connection_manager.cc (right): https://codereview.chromium.org/2697763002/diff/40001/chromeos/components/tether/ble_connection_manager.cc#newcode70 chromeos/components/tether/ble_connection_manager.cc:70: BleConnectionManager::ConnectionMetadata::GetStatus() const { On 2017/02/17 01:59:05, Ryan Hansberry wrote: ...
3 years, 10 months ago (2017-02-17 02:08:52 UTC) #10
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/2697763002/80001
3 years, 10 months ago (2017-02-17 02:11:23 UTC) #13
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
3 years, 10 months ago (2017-02-17 02:11:26 UTC) #15
kkhorimoto
lgtm
3 years, 10 months ago (2017-02-17 18:35:14 UTC) #17
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/2697763002/80001
3 years, 10 months ago (2017-02-17 18:36:28 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/367319)
3 years, 10 months ago (2017-02-17 18:50:18 UTC) #21
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/2697763002/100001
3 years, 10 months ago (2017-02-17 19:05:21 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/17449) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-17 19:23:20 UTC) #26
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/2697763002/120001
3 years, 10 months ago (2017-02-17 21:39:29 UTC) #29
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/2697763002/140001
3 years, 10 months ago (2017-02-17 21:53:02 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
3 years, 10 months ago (2017-02-17 23:55:57 UTC) #34
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/2697763002/140001
3 years, 10 months ago (2017-02-17 23:58:57 UTC) #36
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_TIMED_OUT, no build URL) chromium_presubmit on ...
3 years, 10 months ago (2017-02-18 02:04:44 UTC) #38
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/2697763002/140001
3 years, 10 months ago (2017-02-18 23:45:40 UTC) #40
commit-bot: I haz the power
3 years, 10 months ago (2017-02-19 00:48:21 UTC) #43
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/51d2457c22af0cbe490cdee3ad29...

Powered by Google App Engine
This is Rietveld 408576698