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

Side by Side Diff: net/base/ev_root_ca_metadata.cc

Issue 3412016: FBTF: Move a bunch of code to the headers and remove includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase + fixed windows issues locally Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/base/ev_root_ca_metadata.h ('k') | net/base/host_mapping_rules.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/base/ev_root_ca_metadata.h" 5 #include "net/base/ev_root_ca_metadata.h"
6 6
7 #if defined(USE_NSS) 7 #if defined(USE_NSS)
8 #include <cert.h> 8 #include <cert.h>
9 #include <pkcs11n.h> 9 #include <pkcs11n.h>
10 #include <secerr.h> 10 #include <secerr.h>
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 const EVMetadata& metadata = ev_root_ca_metadata[i]; 274 const EVMetadata& metadata = ev_root_ca_metadata[i];
275 ev_policy_[metadata.fingerprint] = metadata.policy_oid; 275 ev_policy_[metadata.fingerprint] = metadata.policy_oid;
276 // Multiple root CA certs may use the same EV policy OID. Having 276 // Multiple root CA certs may use the same EV policy OID. Having
277 // duplicates in the policy_oids_ array does no harm, so we don't 277 // duplicates in the policy_oids_ array does no harm, so we don't
278 // bother detecting duplicates. 278 // bother detecting duplicates.
279 policy_oids_.push_back(metadata.policy_oid); 279 policy_oids_.push_back(metadata.policy_oid);
280 } 280 }
281 #endif 281 #endif
282 } 282 }
283 283
284 EVRootCAMetadata::~EVRootCAMetadata() {
285 }
286
284 } // namespace net 287 } // namespace net
OLDNEW
« no previous file with comments | « net/base/ev_root_ca_metadata.h ('k') | net/base/host_mapping_rules.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698