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