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

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

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

Description

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

Patch Set 1 #

Patch Set 2 : Fix scoped_refptr compile on non-clang #

Total comments: 18

Patch Set 3 : Rebase #

Patch Set 4 : Use ON_CALL rather than EXPECT_CALL for GetDevice() #

Patch Set 5 : Use the Connect() utility function in more places #

Total comments: 2

Patch Set 6 : Rebase #

Patch Set 7 : Save references to OnReceive() callbacks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+781 lines, -8 lines) Patch
M components/components_tests.gyp View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M components/proximity_auth.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M components/proximity_auth/BUILD.gn View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
A components/proximity_auth/bluetooth_connection.h View 1 chunk +93 lines, -0 lines 0 comments Download
A components/proximity_auth/bluetooth_connection.cc View 1 1 chunk +201 lines, -0 lines 0 comments Download
A components/proximity_auth/bluetooth_connection_unittest.cc View 1 2 3 4 5 6 1 chunk +462 lines, -0 lines 0 comments Download
M components/proximity_auth/connection.h View 3 chunks +7 lines, -8 lines 0 comments Download
M components/proximity_auth/connection_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M components/proximity_auth/remote_device.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/proximity_auth/wire_message.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/proximity_auth/wire_message.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
Ilya Sherman
6 years, 3 months ago (2014-09-20 00:00:00 UTC) #1
Tim Song
https://codereview.chromium.org/585743004/diff/20001/components/proximity_auth/bluetooth_connection.cc File components/proximity_auth/bluetooth_connection.cc (right): https://codereview.chromium.org/585743004/diff/20001/components/proximity_auth/bluetooth_connection.cc#newcode120 components/proximity_auth/bluetooth_connection.cc:120: if (!bluetooth_device) { Reading this code gave me the ...
6 years, 3 months ago (2014-09-22 23:30:39 UTC) #2
Ilya Sherman
https://chromiumcodereview.appspot.com/585743004/diff/20001/components/proximity_auth/bluetooth_connection.cc File components/proximity_auth/bluetooth_connection.cc (right): https://chromiumcodereview.appspot.com/585743004/diff/20001/components/proximity_auth/bluetooth_connection.cc#newcode120 components/proximity_auth/bluetooth_connection.cc:120: if (!bluetooth_device) { On 2014/09/22 23:30:38, Tim Song wrote: ...
6 years, 3 months ago (2014-09-23 05:24:23 UTC) #3
Tim Song
https://codereview.chromium.org/585743004/diff/20001/components/proximity_auth/bluetooth_connection_unittest.cc File components/proximity_auth/bluetooth_connection_unittest.cc (right): https://codereview.chromium.org/585743004/diff/20001/components/proximity_auth/bluetooth_connection_unittest.cc#newcode254 components/proximity_auth/bluetooth_connection_unittest.cc:254: connection.Connect(); On 2014/09/23 05:24:22, Ilya Sherman wrote: > On ...
6 years, 3 months ago (2014-09-23 21:22:12 UTC) #4
Ilya Sherman
https://codereview.chromium.org/585743004/diff/20001/components/proximity_auth/bluetooth_connection_unittest.cc File components/proximity_auth/bluetooth_connection_unittest.cc (right): https://codereview.chromium.org/585743004/diff/20001/components/proximity_auth/bluetooth_connection_unittest.cc#newcode254 components/proximity_auth/bluetooth_connection_unittest.cc:254: connection.Connect(); On 2014/09/23 21:22:12, Tim Song wrote: > On ...
6 years, 3 months ago (2014-09-23 22:07:07 UTC) #5
Tim Song
lgtm https://codereview.chromium.org/585743004/diff/80001/components/proximity_auth/bluetooth_connection_unittest.cc File components/proximity_auth/bluetooth_connection_unittest.cc (right): https://codereview.chromium.org/585743004/diff/80001/components/proximity_auth/bluetooth_connection_unittest.cc#newcode133 components/proximity_auth/bluetooth_connection_unittest.cc:133: void ConnectAndCaptureReceiveCallbacks( It might be more readable to ...
6 years, 3 months ago (2014-09-24 01:15:40 UTC) #6
Ilya Sherman
https://codereview.chromium.org/585743004/diff/80001/components/proximity_auth/bluetooth_connection_unittest.cc File components/proximity_auth/bluetooth_connection_unittest.cc (right): https://codereview.chromium.org/585743004/diff/80001/components/proximity_auth/bluetooth_connection_unittest.cc#newcode133 components/proximity_auth/bluetooth_connection_unittest.cc:133: void ConnectAndCaptureReceiveCallbacks( On 2014/09/24 01:15:40, Tim Song wrote: > ...
6 years, 2 months ago (2014-09-26 02:22:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/585743004/120001
6 years, 2 months ago (2014-09-26 02:23:41 UTC) #9
commit-bot: I haz the power
Committed patchset #7 (id:120001) as 95cd153bac5da60362d211a021c5283a7c4f10fb
6 years, 2 months ago (2014-09-26 03:32:53 UTC) #10
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 03:33:28 UTC) #11
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/83d08a29ec9d53c93f69a6a1cce75f5d736c5f75
Cr-Commit-Position: refs/heads/master@{#296872}

Powered by Google App Engine
This is Rietveld 408576698