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

Issue 14522013: Separate cert loading code from CertLibrary and move to src/chromeos (Closed)

Created:
7 years, 8 months ago by stevenjb
Modified:
7 years, 7 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, gspencer+watch_chromium.org, gauravsh+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Separate cert loading code from CertLibrary and move to src/chromeos. The intention of this CL is to move certificate loading code without chrome/i18n dependencies into src/chromeos. This is so that networking code that needs access to certificates can also be moved to src/chromeos. This also extracts CertLibrary from CrosLibrary. BUG=133752 R=gspencer@chromium.org, pneubeck@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198511

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : Rebase #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : Rebase #

Patch Set 7 : Fix browser tests #

Patch Set 8 : Fix browser tests #

Patch Set 9 : Fix browser tests #

Total comments: 13

Patch Set 10 : Rebase + Add comments / address nits #

Total comments: 43

Patch Set 11 : Address feedback #

Total comments: 25

Patch Set 12 : Address feedback 2 #

Total comments: 1

Patch Set 13 : Rebase #

Patch Set 14 : Don't DCHECK request_task_ in ~CertLoader() #

Patch Set 15 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+731 lines, -725 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 12 chunks +28 lines, -22 lines 0 comments Download
M chrome/browser/chromeos/cros/cert_library.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +56 lines, -58 lines 0 comments Download
M chrome/browser/chromeos/cros/cert_library.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +154 lines, -442 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_library.h View 4 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_library.cc View 3 chunks +0 lines, -3 lines 0 comments Download
D chrome/browser/chromeos/cros/mock_cert_library.h View 1 chunk +0 lines, -36 lines 0 comments Download
D chrome/browser/chromeos/cros/mock_cert_library.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/browser/chromeos/login/parallel_authenticator.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/parallel_authenticator_unittest.cc View 3 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +0 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/network_login_observer.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/network_login_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/options/vpn_config_view.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/options/vpn_config_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 chunks +37 lines, -49 lines 0 comments Download
M chrome/browser/chromeos/options/wifi_config_view.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/options/wifi_config_view.cc View 1 2 3 4 5 6 7 8 9 10 11 20 chunks +36 lines, -50 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -7 lines 0 comments Download
M chromeos/chromeos.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/cryptohome/cryptohome_library.cc View 1 2 3 4 5 6 4 chunks +5 lines, -5 lines 0 comments Download
A chromeos/network/cert_loader.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +139 lines, -0 lines 0 comments Download
A chromeos/network/cert_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +260 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
stevenjb
+hasimoto@ who I believe looked at this code at one point
7 years, 7 months ago (2013-05-01 15:23:52 UTC) #1
Ryan Sleevi
I realize I'm not an OWNER of any of this code, so please take my ...
7 years, 7 months ago (2013-05-01 18:16:18 UTC) #2
stevenjb
Thanks for the feedback Ryan, I appreciate it. gspencer@, hashimoto@, please take a look when ...
7 years, 7 months ago (2013-05-01 20:47:59 UTC) #3
stevenjb
+pneubeck@
7 years, 7 months ago (2013-05-01 23:32:38 UTC) #4
pneubeck (no reviews)
First part of my review. I didn't finish the files that don't have any comments. ...
7 years, 7 months ago (2013-05-02 14:58:35 UTC) #5
stevenjb
I appreciate the detailed review. I would like to avoid a significant refactor with the ...
7 years, 7 months ago (2013-05-03 01:00:31 UTC) #6
pneubeck (no reviews)
reviewed all files. some comments are not placed in the last patch. Overall this CL ...
7 years, 7 months ago (2013-05-03 09:42:54 UTC) #7
hashimoto
some minor comments https://codereview.chromium.org/14522013/diff/36001/.gitmodules File .gitmodules (right): https://codereview.chromium.org/14522013/diff/36001/.gitmodules#newcode25 .gitmodules:25: [submodule "chrome/test/data/perf/third_party/octane"] Are these changes intended ...
7 years, 7 months ago (2013-05-03 16:07:43 UTC) #8
stevenjb
PTAL https://codereview.chromium.org/14522013/diff/36001/chrome/browser/chromeos/cros/cert_library.cc File chrome/browser/chromeos/cros/cert_library.cc (right): https://codereview.chromium.org/14522013/diff/36001/chrome/browser/chromeos/cros/cert_library.cc#newcode87 chrome/browser/chromeos/cros/cert_library.cc:87: static CertLibrary* g_cert_library = NULL; On 2013/05/03 16:07:44, ...
7 years, 7 months ago (2013-05-03 17:02:32 UTC) #9
stevenjb
https://codereview.chromium.org/14522013/diff/18002/chrome/browser/chromeos/network_login_observer.cc File chrome/browser/chromeos/network_login_observer.cc (right): https://codereview.chromium.org/14522013/diff/18002/chrome/browser/chromeos/network_login_observer.cc#newcode16 chrome/browser/chromeos/network_login_observer.cc:16: // CertLibrary does not get initialized in many unit ...
7 years, 7 months ago (2013-05-03 17:09:29 UTC) #10
Greg Spencer (Chromium)
LGTM. I look forward to getting this one refactored more thoroughly though.
7 years, 7 months ago (2013-05-03 17:24:04 UTC) #11
pneubeck (no reviews)
lgtm The only unknown that I see, is the change from the explicit calls to ...
7 years, 7 months ago (2013-05-03 17:24:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/14522013/18002
7 years, 7 months ago (2013-05-03 18:36:14 UTC) #13
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=1254
7 years, 7 months ago (2013-05-03 18:46:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/14522013/18002
7 years, 7 months ago (2013-05-03 21:55:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/14522013/71001
7 years, 7 months ago (2013-05-03 22:00:39 UTC) #16
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=111095
7 years, 7 months ago (2013-05-04 03:57:15 UTC) #17
stevenjb
7 years, 7 months ago (2013-05-06 19:52:02 UTC) #18
Message was sent while issue was closed.
Committed patchset #15 manually as r198511 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698