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

Issue 391783003: Enabling CRLSet for ChromeOS (Closed)

Created:
6 years, 5 months ago by leecam
Modified:
6 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Enabling CRLSet for ChromeOS BUG=202947 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284921

Patch Set 1 #

Patch Set 2 : Correcting BUG= #

Total comments: 3

Patch Set 3 : Moving registration to user login #

Patch Set 4 : Removing unused header #

Patch Set 5 : Not Registering for Users without a username_hash #

Total comments: 8

Patch Set 6 : Moving path location to a higher level #

Patch Set 7 : Added checks for valid crl object #

Total comments: 5

Patch Set 8 : Codereview nits #

Patch Set 9 : Using GetProfilePathByUserIdHash #

Total comments: 3

Patch Set 10 : Fixing comment idents #

Total comments: 1

Patch Set 11 : Tidy ifdefs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -36 lines) Patch
M chrome/browser/chrome_browser_main.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/login/users/user_manager_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/net/crl_set_fetcher.h View 1 2 3 4 5 6 7 4 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/net/crl_set_fetcher.cc View 1 2 3 4 5 6 chunks +18 lines, -25 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
leecam
So this breaks 'nacl_integration' tests. Its due to GetProfileByUserIdHash which gets does this call... ProfileManager* ...
6 years, 5 months ago (2014-07-14 21:18:25 UTC) #1
Ryan Sleevi
So, does it make sense to actually initialize/start this object on ChromeOS? It seems like ...
6 years, 5 months ago (2014-07-14 23:29:00 UTC) #2
xiyuan
https://codereview.chromium.org/391783003/diff/20001/chrome/browser/net/crl_set_fetcher.cc File chrome/browser/net/crl_set_fetcher.cc (right): https://codereview.chromium.org/391783003/diff/20001/chrome/browser/net/crl_set_fetcher.cc#newcode41 chrome/browser/net/crl_set_fetcher.cc:41: // For ChromeOS we place the file in the ...
6 years, 5 months ago (2014-07-15 01:36:17 UTC) #3
Ryan Sleevi
On 2014/07/15 01:36:17, xiyuan wrote: > https://codereview.chromium.org/391783003/diff/20001/chrome/browser/net/crl_set_fetcher.cc > File chrome/browser/net/crl_set_fetcher.cc (right): > > https://codereview.chromium.org/391783003/diff/20001/chrome/browser/net/crl_set_fetcher.cc#newcode41 > ...
6 years, 5 months ago (2014-07-15 01:41:30 UTC) #4
xiyuan
On 2014/07/15 01:41:30, Ryan Sleevi wrote: > On 2014/07/15 01:36:17, xiyuan wrote: > > > ...
6 years, 5 months ago (2014-07-15 02:20:55 UTC) #5
Jorge Lucangeli Obes
On 2014/07/15 02:20:55, xiyuan wrote: > On 2014/07/15 01:41:30, Ryan Sleevi wrote: > > On ...
6 years, 5 months ago (2014-07-15 05:37:17 UTC) #6
xiyuan
Thanks Jorge for the clarification. It is more clear to me now. https://codereview.chromium.org/391783003/diff/20001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc ...
6 years, 5 months ago (2014-07-15 07:45:43 UTC) #7
leecam
I've moved the registration to xiyuan's suggested spot. Now the CRLSet is loaded as you ...
6 years, 5 months ago (2014-07-16 13:55:46 UTC) #8
Jorge Lucangeli Obes
Some style comments while you fix the test. As noted on the comment, you can ...
6 years, 5 months ago (2014-07-16 16:36:34 UTC) #9
Ryan Sleevi
I'm not a fan of pushing the path knowledge in here. If the path is ...
6 years, 5 months ago (2014-07-16 19:39:29 UTC) #10
leecam
So I moved the choice of path to outside of CRLSet. No more ifdefs....
6 years, 5 months ago (2014-07-18 18:31:21 UTC) #11
leecam
https://codereview.chromium.org/391783003/diff/120001/chrome/browser/net/crl_set_fetcher.h File chrome/browser/net/crl_set_fetcher.h (right): https://codereview.chromium.org/391783003/diff/120001/chrome/browser/net/crl_set_fetcher.h#newcode52 chrome/browser/net/crl_set_fetcher.h:52: // Optional |user_id_hash| that is used by Chrome OS. ...
6 years, 5 months ago (2014-07-18 18:38:44 UTC) #12
Ryan Sleevi
I think this works for me. It's a little grotty in chrome_browser_main, but I don't ...
6 years, 5 months ago (2014-07-18 19:17:57 UTC) #13
xiyuan
LGTM with one nit https://codereview.chromium.org/391783003/diff/120001/chrome/browser/chromeos/login/users/user_manager_impl.cc File chrome/browser/chromeos/login/users/user_manager_impl.cc (right): https://codereview.chromium.org/391783003/diff/120001/chrome/browser/chromeos/login/users/user_manager_impl.cc#newcode448 chrome/browser/chromeos/login/users/user_manager_impl.cc:448: chromeos::ProfileHelper::GetUserProfileDir(username_hash)); You can use ProfileHelper::GetProfilePathByUserIdHash ...
6 years, 5 months ago (2014-07-18 19:38:27 UTC) #14
Jorge Lucangeli Obes
lgtm % rsleevi, xiyuan comments.
6 years, 5 months ago (2014-07-18 19:55:59 UTC) #15
Ryan Sleevi
lgtm
6 years, 5 months ago (2014-07-18 19:59:05 UTC) #16
leecam
Thanks guys. Nits done. See note re: xiyuan's recommended call. https://codereview.chromium.org/391783003/diff/120001/chrome/browser/chromeos/login/users/user_manager_impl.cc File chrome/browser/chromeos/login/users/user_manager_impl.cc (right): https://codereview.chromium.org/391783003/diff/120001/chrome/browser/chromeos/login/users/user_manager_impl.cc#newcode448 ...
6 years, 5 months ago (2014-07-19 06:36:40 UTC) #17
xiyuan
https://codereview.chromium.org/391783003/diff/120001/chrome/browser/chromeos/login/users/user_manager_impl.cc File chrome/browser/chromeos/login/users/user_manager_impl.cc (right): https://codereview.chromium.org/391783003/diff/120001/chrome/browser/chromeos/login/users/user_manager_impl.cc#newcode448 chrome/browser/chromeos/login/users/user_manager_impl.cc:448: chromeos::ProfileHelper::GetUserProfileDir(username_hash)); On 2014/07/19 06:36:39, leecam wrote: > On 2014/07/18 ...
6 years, 5 months ago (2014-07-21 16:38:00 UTC) #18
leecam
The CQ bit was checked by leecam@chromium.org
6 years, 5 months ago (2014-07-22 08:37:36 UTC) #19
leecam
The CQ bit was unchecked by leecam@chromium.org
6 years, 5 months ago (2014-07-22 08:37:37 UTC) #20
leecam
I changed it to that function. Apologies I was using ProfileHelper to get the hash ...
6 years, 5 months ago (2014-07-22 09:45:06 UTC) #21
leecam
The CQ bit was checked by leecam@chromium.org
6 years, 5 months ago (2014-07-22 09:45:20 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leecam@chromium.org/391783003/160001
6 years, 5 months ago (2014-07-22 09:46:15 UTC) #23
leecam
@thestig - adding for chrome/browser/chrome_browser_main.cc
6 years, 5 months ago (2014-07-22 10:00:27 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium ...
6 years, 5 months ago (2014-07-22 13:37:49 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-22 13:40:37 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/81478)
6 years, 5 months ago (2014-07-22 13:40:38 UTC) #27
Jorge Lucangeli Obes
https://codereview.chromium.org/391783003/diff/160001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (left): https://codereview.chromium.org/391783003/diff/160001/chrome/browser/chrome_browser_main.cc#oldcode403 chrome/browser/chrome_browser_main.cc:403: // CRLSetFetcher attempts to load a CRL set from ...
6 years, 5 months ago (2014-07-22 15:29:15 UTC) #28
Lei Zhang
chrome_browser_main.cc lgtm https://codereview.chromium.org/391783003/diff/180001/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/391783003/diff/180001/chrome/browser/chrome_browser_main.cc#newcode404 chrome/browser/chrome_browser_main.cc:404: #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) I realize you ...
6 years, 5 months ago (2014-07-22 23:40:42 UTC) #29
leecam
The CQ bit was checked by leecam@chromium.org
6 years, 5 months ago (2014-07-23 09:21:48 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leecam@chromium.org/391783003/200001
6 years, 5 months ago (2014-07-23 09:22:14 UTC) #31
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium ...
6 years, 5 months ago (2014-07-23 11:18:36 UTC) #32
commit-bot: I haz the power
6 years, 5 months ago (2014-07-23 14:26:55 UTC) #33
Message was sent while issue was closed.
Change committed as 284921

Powered by Google App Engine
This is Rietveld 408576698