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

Issue 663693002: [Easy Unlock] Port the BluetoothThrottler class to native code. (Closed)

Created:
6 years, 2 months ago by Ilya Sherman
Modified:
5 years, 8 months ago
Reviewers:
Tim Song
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Easy Unlock] Port the BluetoothThrottler class to native code. BUG=424419 TEST=components_unittests R=tengs@chromium.org Committed: https://crrev.com/fd7c534b719de832eb7ce1e3aa9043ba063f68c4 Cr-Commit-Position: refs/heads/master@{#326706}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Implement a ConnectionFinder interface for the controller to hang onto #

Patch Set 3 : cleanup #

Total comments: 2

Patch Set 4 : Move the connection observer logic to the throttler. #

Patch Set 5 : Fix Windows compilation error? #

Patch Set 6 : Fix Windows compilation error, take 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+537 lines, -20 lines) Patch
M components/components_tests.gyp View 1 2 chunks +2 lines, -0 lines 0 comments Download
M components/proximity_auth.gypi View 1 2 chunks +5 lines, -0 lines 0 comments Download
M components/proximity_auth/BUILD.gn View 1 3 chunks +7 lines, -0 lines 0 comments Download
M components/proximity_auth/bluetooth_connection_finder.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/bluetooth_connection_finder.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
A components/proximity_auth/bluetooth_throttler.h View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A components/proximity_auth/bluetooth_throttler_impl.h View 1 2 3 1 chunk +69 lines, -0 lines 0 comments Download
A components/proximity_auth/bluetooth_throttler_impl.cc View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
A components/proximity_auth/bluetooth_throttler_impl_unittest.cc View 1 2 3 4 1 chunk +88 lines, -0 lines 0 comments Download
M components/proximity_auth/client.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/proximity_auth/client.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M components/proximity_auth/connection.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M components/proximity_auth/connection_finder.h View 1 2 chunks +0 lines, -4 lines 0 comments Download
M components/proximity_auth/connection_observer.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M components/proximity_auth/connection_unittest.cc View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
A components/proximity_auth/throttled_bluetooth_connection_finder.h View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
A components/proximity_auth/throttled_bluetooth_connection_finder.cc View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
A components/proximity_auth/throttled_bluetooth_connection_finder_unittest.cc View 1 2 3 4 5 1 chunk +133 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
Ilya Sherman
6 years, 2 months ago (2014-10-16 23:38:30 UTC) #1
Tim Song
The interface in the app for BluetoothThrottler returns a ConnectionFinder for the Controller to use ...
6 years, 1 month ago (2014-10-27 17:49:25 UTC) #2
Ilya Sherman
On 2014/10/27 17:49:25, Tim Song wrote: > The interface in the app for BluetoothThrottler returns ...
6 years, 1 month ago (2014-10-28 00:40:47 UTC) #3
Tim Song
Sorry for the late response on this one. I'm still a bit unclear how this ...
6 years, 1 month ago (2014-11-20 23:00:09 UTC) #4
Ilya Sherman
Finally getting back around to this class. Sorry for the great delay! On 2014/11/20 23:00:09, ...
5 years, 8 months ago (2015-04-02 22:59:35 UTC) #5
Tim Song
We shouldn't call BluetoothThrottler::FindConnection() in the controller, as this is workaround specific to BR/EDR, and ...
5 years, 8 months ago (2015-04-03 15:55:02 UTC) #6
Ilya Sherman
On 2015/04/03 15:55:02, Tim Song wrote: > We shouldn't call BluetoothThrottler::FindConnection() in the controller, > ...
5 years, 8 months ago (2015-04-17 06:10:03 UTC) #7
Tim Song
https://chromiumcodereview.appspot.com/663693002/diff/1/components/proximity_auth/bluetooth_throttler.cc File components/proximity_auth/bluetooth_throttler.cc (right): https://chromiumcodereview.appspot.com/663693002/diff/1/components/proximity_auth/bluetooth_throttler.cc#newcode101 components/proximity_auth/bluetooth_throttler.cc:101: void BluetoothThrottler::OnConnectionStatusChanged( On 2015/04/17 06:10:03, Ilya Sherman wrote: > ...
5 years, 8 months ago (2015-04-17 22:34:31 UTC) #8
Ilya Sherman
https://chromiumcodereview.appspot.com/663693002/diff/1/components/proximity_auth/bluetooth_throttler.cc File components/proximity_auth/bluetooth_throttler.cc (right): https://chromiumcodereview.appspot.com/663693002/diff/1/components/proximity_auth/bluetooth_throttler.cc#newcode101 components/proximity_auth/bluetooth_throttler.cc:101: void BluetoothThrottler::OnConnectionStatusChanged( On 2015/04/17 22:34:31, Tim Song wrote: > ...
5 years, 8 months ago (2015-04-22 00:48:59 UTC) #9
Tim Song
Let me double check whether the bug is connection or service specific. I'll LGTM this ...
5 years, 8 months ago (2015-04-22 18:07:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663693002/60001
5 years, 8 months ago (2015-04-22 21:25:04 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/76361)
5 years, 8 months ago (2015-04-22 22:34:38 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663693002/80001
5 years, 8 months ago (2015-04-23 00:29:37 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/76483)
5 years, 8 months ago (2015-04-23 02:15:02 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/663693002/100001
5 years, 8 months ago (2015-04-23 23:26:50 UTC) #22
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-24 00:44:06 UTC) #23
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 00:44:57 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fd7c534b719de832eb7ce1e3aa9043ba063f68c4
Cr-Commit-Position: refs/heads/master@{#326706}

Powered by Google App Engine
This is Rietveld 408576698