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

Issue 2561683002: Update CryptAuthDeviceManager to store all synced devices instead of only unlock keys. (Closed)

Created:
4 years ago by Kyle Horimoto
Modified:
4 years ago
Reviewers:
Tim Song, Jeremy Klein
CC:
chromium-reviews, hansberry+watch-tether_chromium.org, jhawkins+watch-tether_chromium.org, jlklein+watch-tether_chromium.org, khorimoto+watch-tether_chromium.org, tengs+watch-tether_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update CryptAuthDeviceManager to store all synced devices instead of only unlock keys. To retrieve: *all devices: call synced_devices() *unlock keys: call unlock_keys() *tether hosts: call tether_hosts() BUG=672263 Committed: https://crrev.com/f322da94ab81a3900e2712713bd4aa3108e78c75 Cr-Commit-Position: refs/heads/master@{#439158}

Patch Set 1 #

Total comments: 4

Patch Set 2 : jlklein@ comment. #

Patch Set 3 : hansberry@ comment. #

Total comments: 4

Patch Set 4 : tengs@ comments. #

Total comments: 6

Patch Set 5 : tengs@ comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -222 lines) Patch
M chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/signin/easy_unlock_service_regular.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M components/cryptauth/cryptauth_device_manager.h View 1 2 3 4 2 chunks +9 lines, -5 lines 0 comments Download
M components/cryptauth/cryptauth_device_manager.cc View 1 2 3 4 2 chunks +30 lines, -8 lines 0 comments Download
M components/cryptauth/cryptauth_device_manager_unittest.cc View 1 2 3 4 25 chunks +248 lines, -200 lines 0 comments Download
M components/proximity_auth/webui/proximity_auth_webui_handler.cc View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 27 (10 generated)
Kyle Horimoto
4 years ago (2016-12-07 22:14:45 UTC) #2
Jeremy Klein
https://codereview.chromium.org/2561683002/diff/1/components/cryptauth/cryptauth_device_manager.cc File components/cryptauth/cryptauth_device_manager.cc (right): https://codereview.chromium.org/2561683002/diff/1/components/cryptauth/cryptauth_device_manager.cc#newcode399 components/cryptauth/cryptauth_device_manager.cc:399: unlock_keys_pref->Append(UnlockKeyToDictionary(device)); Any reason not to just use devices_as_list and ...
4 years ago (2016-12-07 22:19:54 UTC) #4
Kyle Horimoto
https://codereview.chromium.org/2561683002/diff/1/components/cryptauth/cryptauth_device_manager.cc File components/cryptauth/cryptauth_device_manager.cc (right): https://codereview.chromium.org/2561683002/diff/1/components/cryptauth/cryptauth_device_manager.cc#newcode399 components/cryptauth/cryptauth_device_manager.cc:399: unlock_keys_pref->Append(UnlockKeyToDictionary(device)); On 2016/12/07 22:19:54, Jeremy Klein wrote: > Any ...
4 years ago (2016-12-07 22:25:35 UTC) #5
Ryan Hansberry
https://codereview.chromium.org/2561683002/diff/1/components/cryptauth/cryptauth_device_manager.h File components/cryptauth/cryptauth_device_manager.h (right): https://codereview.chromium.org/2561683002/diff/1/components/cryptauth/cryptauth_device_manager.h#newcode110 components/cryptauth/cryptauth_device_manager.h:110: return synced_devices_; Noob question: Why implement this method in ...
4 years ago (2016-12-07 23:51:37 UTC) #6
Kyle Horimoto
https://codereview.chromium.org/2561683002/diff/1/components/cryptauth/cryptauth_device_manager.h File components/cryptauth/cryptauth_device_manager.h (right): https://codereview.chromium.org/2561683002/diff/1/components/cryptauth/cryptauth_device_manager.h#newcode110 components/cryptauth/cryptauth_device_manager.h:110: return synced_devices_; On 2016/12/07 23:51:37, Ryan Hansberry wrote: > ...
4 years ago (2016-12-08 00:11:13 UTC) #7
Tim Song
https://codereview.chromium.org/2561683002/diff/40001/components/cryptauth/cryptauth_device_manager.cc File components/cryptauth/cryptauth_device_manager.cc (right): https://codereview.chromium.org/2561683002/diff/40001/components/cryptauth/cryptauth_device_manager.cc#newcode376 components/cryptauth/cryptauth_device_manager.cc:376: CryptAuthDeviceManager::unlock_keys() const { I believe the convention in Chrome ...
4 years ago (2016-12-08 00:26:39 UTC) #8
Kyle Horimoto
https://codereview.chromium.org/2561683002/diff/40001/components/cryptauth/cryptauth_device_manager.cc File components/cryptauth/cryptauth_device_manager.cc (right): https://codereview.chromium.org/2561683002/diff/40001/components/cryptauth/cryptauth_device_manager.cc#newcode376 components/cryptauth/cryptauth_device_manager.cc:376: CryptAuthDeviceManager::unlock_keys() const { On 2016/12/08 00:26:39, Tim Song wrote: ...
4 years ago (2016-12-08 00:35:03 UTC) #9
Tim Song
https://codereview.chromium.org/2561683002/diff/60001/components/cryptauth/cryptauth_device_manager.h File components/cryptauth/cryptauth_device_manager.h (right): https://codereview.chromium.org/2561683002/diff/60001/components/cryptauth/cryptauth_device_manager.h#newcode109 components/cryptauth/cryptauth_device_manager.h:109: std::vector<cryptauth::ExternalDeviceInfo> synced_devices() const; I would also CamelCase this function ...
4 years ago (2016-12-08 00:38:56 UTC) #10
Kyle Horimoto
https://codereview.chromium.org/2561683002/diff/60001/components/cryptauth/cryptauth_device_manager.h File components/cryptauth/cryptauth_device_manager.h (right): https://codereview.chromium.org/2561683002/diff/60001/components/cryptauth/cryptauth_device_manager.h#newcode109 components/cryptauth/cryptauth_device_manager.h:109: std::vector<cryptauth::ExternalDeviceInfo> synced_devices() const; On 2016/12/08 00:38:56, Tim Song wrote: ...
4 years ago (2016-12-08 00:46:34 UTC) #11
Tim Song
4 years ago (2016-12-15 23:45:11 UTC) #14
Tim Song
lgtm
4 years ago (2016-12-15 23:45:12 UTC) #15
Tim Song
lgtm
4 years ago (2016-12-15 23:45:13 UTC) #16
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/2561683002/80001
4 years ago (2016-12-15 23:51:54 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/357678)
4 years ago (2016-12-16 02:29:15 UTC) #20
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/2561683002/80001
4 years ago (2016-12-16 17:37:24 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-16 18:37:55 UTC) #25
commit-bot: I haz the power
4 years ago (2016-12-16 18:40:18 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f322da94ab81a3900e2712713bd4aa3108e78c75
Cr-Commit-Position: refs/heads/master@{#439158}

Powered by Google App Engine
This is Rietveld 408576698