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

Issue 6293027: Handle new EAP fields and provide backwards compatibility for old (Closed)

Created:
9 years, 11 months ago by Nathan Williams
Modified:
9 years, 6 months ago
Reviewers:
Jason Glasgow
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Handle new EAP fields and provide backwards compatibility for old CertPath users. BUG=chromium-os:7101, chromium-os:10108 TEST=Connect to Google-A with existing chrome and entd/policy (w/ flimflam changes from 6132007). Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=c553c03

Patch Set 1 #

Patch Set 2 : More ::g_foo, and log a warning where we said we would. #

Total comments: 8

Patch Set 3 : Fix allocation leak, log error, use the right property. #

Patch Set 4 : Construct a backwards-compat CertPath on the way back up to Chrome #

Patch Set 5 : Don't use "foo" as a variable name. #

Total comments: 1

Patch Set 6 : Make comma logic more readable. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -25 lines) Patch
M chromeos_network.h View 2 chunks +14 lines, -1 line 0 comments Download
M chromeos_network.cc View 1 2 3 4 5 8 chunks +203 lines, -24 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nathan Williams
9 years, 11 months ago (2011-01-28 20:58:09 UTC) #1
Jason Glasgow
A few comments. http://codereview.chromium.org/6293027/diff/2001/chromeos_network.cc File chromeos_network.cc (right): http://codereview.chromium.org/6293027/diff/2001/chromeos_network.cc#newcode57 chromeos_network.cc:57: static const char* kCertPathProperty = "CertPath"; ...
9 years, 10 months ago (2011-01-31 13:33:29 UTC) #2
Nathan Williams
On 2011/01/31 13:33:29, Jason Glasgow wrote: > A few comments. > > http://codereview.chromium.org/6293027/diff/2001/chromeos_network.cc > File ...
9 years, 10 months ago (2011-01-31 16:17:04 UTC) #3
Jason Glasgow
LGTM
9 years, 10 months ago (2011-01-31 16:29:01 UTC) #4
Nathan Williams
On 2011/01/31 16:29:01, Jason Glasgow wrote: > LGTM I missed a spot (compat on the ...
9 years, 10 months ago (2011-02-04 23:52:00 UTC) #5
Jason Glasgow
LGTM http://codereview.chromium.org/6293027/diff/13001/chromeos_network.cc File chromeos_network.cc (right): http://codereview.chromium.org/6293027/diff/13001/chromeos_network.cc#newcode779 chromeos_network.cc:779: certpath += StringPrintf("%scert_id=%s", comma ? "," : "", ...
9 years, 10 months ago (2011-02-07 14:37:40 UTC) #6
Nathan Williams
9 years, 10 months ago (2011-02-07 14:50:19 UTC) #7
On 2011/02/07 14:37:40, Jason Glasgow wrote:
> LGTM
> 
> http://codereview.chromium.org/6293027/diff/13001/chromeos_network.cc
> File chromeos_network.cc (right):
> 
>
http://codereview.chromium.org/6293027/diff/13001/chromeos_network.cc#newcode779
> chromeos_network.cc:779: certpath += StringPrintf("%scert_id=%s", comma ? ","
:
> "", info->cert_id);
> Less code if char *comma=""; and then comma = ","
> but either way LGTM

Ah, that is cleaner. Done, thanks.

Powered by Google App Engine
This is Rietveld 408576698