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

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

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/test_root_certs.h" 5 #include "net/base/test_root_certs.h"
6 6
7 #include <cert.h> 7 #include <cert.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/stl_util-inl.h" 10 #include "base/stl_util.h"
11 #include "crypto/nss_util.h" 11 #include "crypto/nss_util.h"
12 #include "net/base/x509_certificate.h" 12 #include "net/base/x509_certificate.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 // TrustEntry is used to store the original CERTCertificate and CERTCertTrust 16 // TrustEntry is used to store the original CERTCertificate and CERTCertTrust
17 // for a certificate whose trust status has been changed by the 17 // for a certificate whose trust status has been changed by the
18 // TestRootCerts. 18 // TestRootCerts.
19 class TestRootCerts::TrustEntry { 19 class TestRootCerts::TrustEntry {
20 public: 20 public:
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 TestRootCerts::~TestRootCerts() { 111 TestRootCerts::~TestRootCerts() {
112 Clear(); 112 Clear();
113 } 113 }
114 114
115 void TestRootCerts::Init() { 115 void TestRootCerts::Init() {
116 crypto::EnsureNSSInit(); 116 crypto::EnsureNSSInit();
117 } 117 }
118 118
119 } // namespace net 119 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698