Revert of Roll thirdparty/class-dump to fix build for the latest Xcode (patchset...
[chromium-blink-merge.git] / net / ssl / signed_certificate_timestamp_and_status.h
blobc23753ea4d763efa411d8cdae01111f1b75ca09c
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_
6 #define NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_
8 #include <vector>
10 #include "base/memory/ref_counted.h"
11 #include "net/base/net_export.h"
12 #include "net/cert/sct_status_flags.h"
13 #include "net/cert/signed_certificate_timestamp.h"
15 namespace net {
17 struct NET_EXPORT SignedCertificateTimestampAndStatus {
18 SignedCertificateTimestampAndStatus(
19 const scoped_refptr<ct::SignedCertificateTimestamp>& sct,
20 ct::SCTVerifyStatus status);
22 ~SignedCertificateTimestampAndStatus();
24 scoped_refptr<ct::SignedCertificateTimestamp> sct;
25 ct::SCTVerifyStatus status;
28 typedef std::vector<SignedCertificateTimestampAndStatus>
29 SignedCertificateTimestampAndStatusList;
31 } // namespace net
33 #endif // NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_