| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef NET_CERT_TEST_ROOT_CERTS_H_ | 5 #ifndef NET_CERT_TEST_ROOT_CERTS_H_ |
| 6 #define NET_CERT_TEST_ROOT_CERTS_H_ | 6 #define NET_CERT_TEST_ROOT_CERTS_H_ |
| 7 | 7 |
| 8 #include "base/lazy_instance.h" | 8 #include "base/lazy_instance.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 10 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 11 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
| 12 | 13 |
| 13 #if defined(USE_NSS_CERTS) || defined(OS_IOS) | 14 #if defined(USE_NSS_CERTS) || defined(OS_IOS) |
| 14 #include <list> | 15 #include <list> |
| 15 #elif defined(USE_OPENSSL_CERTS) && !defined(OS_ANDROID) | 16 #elif defined(USE_OPENSSL_CERTS) && !defined(OS_ANDROID) |
| 16 #include <vector> | 17 #include <vector> |
| 17 #elif defined(OS_WIN) | 18 #elif defined(OS_WIN) |
| 18 #include <windows.h> | 19 #include <windows.h> |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 141 |
| 141 private: | 142 private: |
| 142 scoped_refptr<X509Certificate> cert_; | 143 scoped_refptr<X509Certificate> cert_; |
| 143 | 144 |
| 144 DISALLOW_COPY_AND_ASSIGN(ScopedTestRoot); | 145 DISALLOW_COPY_AND_ASSIGN(ScopedTestRoot); |
| 145 }; | 146 }; |
| 146 | 147 |
| 147 } // namespace net | 148 } // namespace net |
| 148 | 149 |
| 149 #endif // NET_CERT_TEST_ROOT_CERTS_H_ | 150 #endif // NET_CERT_TEST_ROOT_CERTS_H_ |
| OLD | NEW |