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

Issue 22588002: Refactor the client certificate code in chromeos/network/. (Closed)

Created:
7 years, 4 months ago by pneubeck (no reviews)
Modified:
7 years, 4 months ago
Reviewers:
stevenjb
CC:
chromium-reviews, gauravsh+watch_chromium.org, gspencer+watch_chromium.org, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Refactor the client certificate code in chromeos/network/. This prepares for the next commit, which adds automatic resolution of client certificates which doesn't require a manual trigger by the user anymore. The only functional is that flimflam::kOpenVPNClientCertSlotProperty is not set anymore, because it was never supported by Shill and leads to errors with Service::SetProperties. BUG=234983, 126870 R=stevenjb@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216997

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Addressed comments. #

Patch Set 3 : Rebased. #

Patch Set 4 : Corrections after rebase. #

Total comments: 8

Patch Set 5 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -361 lines) Patch
M chrome/browser/chromeos/cros/network_library.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/options/network_connect.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chromeos/cert_loader.h View 5 chunks +5 lines, -3 lines 0 comments Download
M chromeos/cert_loader.cc View 3 chunks +4 lines, -5 lines 0 comments Download
M chromeos/chromeos.gyp View 1 chunk +2 lines, -2 lines 0 comments Download
D chromeos/network/certificate_pattern_matcher.h View 1 chunk +0 lines, -30 lines 0 comments Download
D chromeos/network/certificate_pattern_matcher.cc View 1 chunk +0 lines, -193 lines 0 comments Download
A + chromeos/network/client_cert_util.h View 1 2 3 1 chunk +36 lines, -5 lines 0 comments Download
A + chromeos/network/client_cert_util.cc View 1 2 3 4 chunks +90 lines, -40 lines 0 comments Download
M chromeos/network/network_connection_handler.h View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chromeos/network/network_connection_handler.cc View 1 2 3 4 3 chunks +57 lines, -78 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
pneubeck (no reviews)
PTAL
7 years, 4 months ago (2013-08-07 16:24:07 UTC) #1
stevenjb
This cleanup seems fine, although it's going to be an ugly merge with my Connect ...
7 years, 4 months ago (2013-08-07 19:24:47 UTC) #2
pneubeck (no reviews)
maybe I can wait until you committed your CL. https://codereview.chromium.org/22588002/diff/12001/chromeos/network/client_cert_util.cc File chromeos/network/client_cert_util.cc (right): https://codereview.chromium.org/22588002/diff/12001/chromeos/network/client_cert_util.cc#newcode226 chromeos/network/client_cert_util.cc:226: ...
7 years, 4 months ago (2013-08-08 11:28:29 UTC) #3
stevenjb
On 2013/08/08 11:28:29, pneubeck wrote: > maybe I can wait until you committed your CL. ...
7 years, 4 months ago (2013-08-08 16:36:30 UTC) #4
pneubeck (no reviews)
I had to adapt to the new connection code. PTAL at client_cert_util.* network_connection_handler.cc
7 years, 4 months ago (2013-08-09 09:11:30 UTC) #5
stevenjb
lgtm w/ optional nits https://codereview.chromium.org/22588002/diff/43001/chromeos/network/client_cert_util.cc File chromeos/network/client_cert_util.cc (right): https://codereview.chromium.org/22588002/diff/43001/chromeos/network/client_cert_util.cc#newcode238 chromeos/network/client_cert_util.cc:238: properties->SetStringWithoutPathExpansion(tpm_pin_property, tpm_pin); nit: I'm not ...
7 years, 4 months ago (2013-08-09 17:03:29 UTC) #6
pneubeck (no reviews)
https://codereview.chromium.org/22588002/diff/43001/chromeos/network/client_cert_util.cc File chromeos/network/client_cert_util.cc (right): https://codereview.chromium.org/22588002/diff/43001/chromeos/network/client_cert_util.cc#newcode238 chromeos/network/client_cert_util.cc:238: properties->SetStringWithoutPathExpansion(tpm_pin_property, tpm_pin); On 2013/08/09 17:03:29, stevenjb (chromium) wrote: > ...
7 years, 4 months ago (2013-08-09 22:40:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/22588002/49001
7 years, 4 months ago (2013-08-09 22:41:52 UTC) #8
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 4 months ago (2013-08-09 22:56:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/22588002/49001
7 years, 4 months ago (2013-08-09 23:02:05 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=186142
7 years, 4 months ago (2013-08-10 06:22:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/22588002/49001
7 years, 4 months ago (2013-08-10 18:19:30 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=186255
7 years, 4 months ago (2013-08-11 00:24:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/22588002/49001
7 years, 4 months ago (2013-08-12 07:01:12 UTC) #14
pneubeck (no reviews)
7 years, 4 months ago (2013-08-12 15:22:57 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 manually as r216997 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698