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