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

Issue 2796303005: cros: Call GetPrivateSlotForChromeOSUser properly (Closed)

Created:
3 years, 8 months ago by xiyuan
Modified:
3 years, 8 months ago
Reviewers:
mattm
CC:
chromium-reviews, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cros: Call GetPrivateSlotForChromeOSUser properly OwnerSettingsServiceChromeOS calls GetPrivateSlotForChromeOSUser without using the callback, assuming the private slot is available after profile load and tpm token ready. The CL changes to use the callback arg of GetPrivateSlotForChromeOSUser so that the code does not depend on the assumption and can properly wait for the slot initialization. BUG=708823 Review-Url: https://codereview.chromium.org/2796303005 Cr-Commit-Position: refs/heads/master@{#462561} Committed: https://chromium.googlesource.com/chromium/src/+/bb330d1b8f803ccb942c7ca2e7e2510c612c1828

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -16 lines) Patch
M chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc View 3 chunks +29 lines, -16 lines 3 comments Download

Messages

Total messages: 15 (8 generated)
xiyuan
3 years, 8 months ago (2017-04-06 17:04:39 UTC) #4
mattm
https://codereview.chromium.org/2796303005/diff/1/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc (right): https://codereview.chromium.org/2796303005/diff/1/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc#newcode129 chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc:129: void LoadPrivateKeyOnIOThread(const scoped_refptr<OwnerKeyUtil>& owner_key_util, Is it possible for this ...
3 years, 8 months ago (2017-04-06 18:00:52 UTC) #7
xiyuan
https://codereview.chromium.org/2796303005/diff/1/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc (right): https://codereview.chromium.org/2796303005/diff/1/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc#newcode129 chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc:129: void LoadPrivateKeyOnIOThread(const scoped_refptr<OwnerKeyUtil>& owner_key_util, On 2017/04/06 18:00:52, mattm wrote: ...
3 years, 8 months ago (2017-04-06 18:14:25 UTC) #8
mattm
lgtm https://codereview.chromium.org/2796303005/diff/1/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc File chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc (right): https://codereview.chromium.org/2796303005/diff/1/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc#newcode129 chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc:129: void LoadPrivateKeyOnIOThread(const scoped_refptr<OwnerKeyUtil>& owner_key_util, On 2017/04/06 18:14:25, xiyuan ...
3 years, 8 months ago (2017-04-06 18:23:27 UTC) #9
xiyuan
On 2017/04/06 18:23:27, mattm wrote: > lgtm > > https://codereview.chromium.org/2796303005/diff/1/chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc > File chrome/browser/chromeos/ownership/owner_settings_service_chromeos.cc > (right): ...
3 years, 8 months ago (2017-04-06 18:24:25 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/2796303005/1
3 years, 8 months ago (2017-04-06 18:26:39 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 18:50:15 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/bb330d1b8f803ccb942c7ca2e7e2...

Powered by Google App Engine
This is Rietveld 408576698