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_BASE_X509_CERT_NET_LOG_PARAM_H_ | 5 #ifndef NET_BASE_X509_CERT_NET_LOG_PARAM_H_ |
6 #define NET_BASE_X509_CERT_NET_LOG_PARAM_H_ | 6 #define NET_BASE_X509_CERT_NET_LOG_PARAM_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "net/log/net_log.h" | 10 namespace base { |
| 11 class Value; |
| 12 } |
11 | 13 |
12 namespace net { | 14 namespace net { |
13 | 15 |
| 16 class NetLogCaptureMode; |
14 class X509Certificate; | 17 class X509Certificate; |
15 | 18 |
16 // Creates NetLog parameter to describe an X509Certificate. | 19 // Creates NetLog parameter to describe an X509Certificate. |
17 std::unique_ptr<base::Value> NetLogX509CertificateCallback( | 20 std::unique_ptr<base::Value> NetLogX509CertificateCallback( |
18 const X509Certificate* certificate, | 21 const X509Certificate* certificate, |
19 NetLogCaptureMode capture_mode); | 22 NetLogCaptureMode capture_mode); |
20 | 23 |
21 } // namespace net | 24 } // namespace net |
22 | 25 |
23 #endif // NET_BASE_X509_CERT_NET_LOG_PARAM_H_ | 26 #endif // NET_BASE_X509_CERT_NET_LOG_PARAM_H_ |
OLD | NEW |