mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
29 lines
709 B
C
29 lines
709 B
C
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style license that can be
|
||
|
// found in the LICENSE file.
|
||
|
|
||
|
#ifndef NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
|
||
|
#define NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
|
||
|
|
||
|
#include <memory>
|
||
|
|
||
|
#include "net/base/net_export.h"
|
||
|
|
||
|
namespace base {
|
||
|
class Value;
|
||
|
}
|
||
|
|
||
|
namespace net {
|
||
|
|
||
|
class NetLogCaptureMode;
|
||
|
class X509Certificate;
|
||
|
|
||
|
// Creates NetLog parameter to describe an X509Certificate.
|
||
|
NET_EXPORT std::unique_ptr<base::Value> NetLogX509CertificateCallback(
|
||
|
const X509Certificate* certificate,
|
||
|
NetLogCaptureMode capture_mode);
|
||
|
|
||
|
} // namespace net
|
||
|
|
||
|
#endif // NET_CERT_X509_CERTIFICATE_NET_LOG_PARAM_H_
|