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

Issue 802433002: Handle empty username_hash in ClientCertFilterChromeOS. (Closed)

Created:
6 years ago by pneubeck (no reviews)
Modified:
6 years ago
Reviewers:
xiyuan, mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle empty username_hash in ClientCertFilterChromeOS. The Init() function did never call back if the username_hash was empty, because GetPrivateSlotForChromeOSUser would return a nullptr and InitIfSlotsAvailable returning consistently false. Now the callback will be called once GetPrivateSlotForChromeOSUser returned. This change is on purpose kept minimal to allow merging to M40. BUG=434205 Committed: https://crrev.com/82065f2b13ce350591d4195b5ee9ff498c2dd31d Cr-Commit-Position: refs/heads/master@{#308191}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Handle synchronous case correctly. #

Total comments: 1

Patch Set 3 : comment change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -1 line) Patch
M chrome/browser/chromeos/net/client_cert_filter_chromeos.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/net/client_cert_filter_chromeos.cc View 1 4 chunks +12 lines, -1 line 0 comments Download

Messages

Total messages: 15 (6 generated)
pneubeck (no reviews)
ptal
6 years ago (2014-12-11 18:13:48 UTC) #3
xiyuan
LGTM!
6 years ago (2014-12-11 18:23:22 UTC) #4
xiyuan
https://codereview.chromium.org/802433002/diff/20001/chrome/browser/chromeos/net/client_cert_filter_chromeos.cc File chrome/browser/chromeos/net/client_cert_filter_chromeos.cc (right): https://codereview.chromium.org/802433002/diff/20001/chrome/browser/chromeos/net/client_cert_filter_chromeos.cc#newcode36 chrome/browser/chromeos/net/client_cert_filter_chromeos.cc:36: waiting_for_private_slot_ = true; Would the flag needs to be ...
6 years ago (2014-12-11 18:31:05 UTC) #5
pneubeck (no reviews)
ptal https://codereview.chromium.org/802433002/diff/20001/chrome/browser/chromeos/net/client_cert_filter_chromeos.cc File chrome/browser/chromeos/net/client_cert_filter_chromeos.cc (right): https://codereview.chromium.org/802433002/diff/20001/chrome/browser/chromeos/net/client_cert_filter_chromeos.cc#newcode36 chrome/browser/chromeos/net/client_cert_filter_chromeos.cc:36: waiting_for_private_slot_ = true; On 2014/12/11 18:31:05, xiyuan wrote: ...
6 years ago (2014-12-11 20:32:49 UTC) #9
xiyuan
LGTM++
6 years ago (2014-12-11 20:55:21 UTC) #10
mattm
lgtm https://codereview.chromium.org/802433002/diff/100001/chrome/browser/chromeos/net/client_cert_filter_chromeos.h File chrome/browser/chromeos/net/client_cert_filter_chromeos.h (right): https://codereview.chromium.org/802433002/diff/100001/chrome/browser/chromeos/net/client_cert_filter_chromeos.h#newcode26 chrome/browser/chromeos/net/client_cert_filter_chromeos.h:26: // If |username_hash|, is empty no public and ...
6 years ago (2014-12-12 00:03:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/802433002/120001
6 years ago (2014-12-12 21:21:10 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:120001)
6 years ago (2014-12-12 23:18:34 UTC) #14
commit-bot: I haz the power
6 years ago (2014-12-12 23:19:14 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/82065f2b13ce350591d4195b5ee9ff498c2dd31d
Cr-Commit-Position: refs/heads/master@{#308191}

Powered by Google App Engine
This is Rietveld 408576698