| OLD | NEW | 
|---|
| 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/cert/test_root_certs.h" | 5 #include "net/cert/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/macros.h" | 
| 10 #include "base/stl_util.h" | 11 #include "base/stl_util.h" | 
| 11 #include "crypto/nss_util.h" | 12 #include "crypto/nss_util.h" | 
| 12 #include "net/cert/x509_certificate.h" | 13 #include "net/cert/x509_certificate.h" | 
| 13 | 14 | 
| 14 #if defined(OS_IOS) | 15 #if defined(OS_IOS) | 
| 15 #include "net/cert/x509_util_ios.h" | 16 #include "net/cert/x509_util_ios.h" | 
| 16 #endif | 17 #endif | 
| 17 | 18 | 
| 18 namespace net { | 19 namespace net { | 
| 19 | 20 | 
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 127 | 128 | 
| 128 TestRootCerts::~TestRootCerts() { | 129 TestRootCerts::~TestRootCerts() { | 
| 129   Clear(); | 130   Clear(); | 
| 130 } | 131 } | 
| 131 | 132 | 
| 132 void TestRootCerts::Init() { | 133 void TestRootCerts::Init() { | 
| 133   crypto::EnsureNSSInit(); | 134   crypto::EnsureNSSInit(); | 
| 134 } | 135 } | 
| 135 | 136 | 
| 136 }  // namespace net | 137 }  // namespace net | 
| OLD | NEW | 
|---|