| 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/stl_util.h" | 10 #include "base/stl_util.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 112 |
| 113 bool TestRootCerts::IsEmpty() const { | 113 bool TestRootCerts::IsEmpty() const { |
| 114 return trust_cache_.empty(); | 114 return trust_cache_.empty(); |
| 115 } | 115 } |
| 116 | 116 |
| 117 TestRootCerts::~TestRootCerts() { | 117 TestRootCerts::~TestRootCerts() { |
| 118 Clear(); | 118 Clear(); |
| 119 } | 119 } |
| 120 | 120 |
| 121 void TestRootCerts::Init() { | 121 void TestRootCerts::Init() { |
| 122 LOG(ERROR) << "HIIIIIIIIIIIIIIIIIIIIIIIIIII"; |
| 122 crypto::EnsureNSSInit(); | 123 crypto::EnsureNSSInit(); |
| 123 } | 124 } |
| 124 | 125 |
| 125 } // namespace net | 126 } // namespace net |
| OLD | NEW |