Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: net/ssl/signed_certificate_timestamp_and_status.h

Issue 1772603002: Addition of Certificate Transparency details to Security panel of DevTools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed some unnecessary includes and fixed order in net.gypi Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_ 5 #ifndef NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_
6 #define NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_ 6 #define NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 #include "net/cert/sct_status_flags.h" 12 #include "net/cert/sct_status_flags.h"
13 #include "net/cert/signed_certificate_timestamp.h" 13 #include "net/cert/signed_certificate_timestamp.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 struct NET_EXPORT SignedCertificateTimestampAndStatus { 17 struct NET_EXPORT SignedCertificateTimestampAndStatus {
18 SignedCertificateTimestampAndStatus();
Eran Messeri 2016/04/26 09:29:51 Why is this necessary?
dwaxweiler 2016/04/28 07:46:20 IPC requires an empty constructor.
19
18 SignedCertificateTimestampAndStatus( 20 SignedCertificateTimestampAndStatus(
19 const scoped_refptr<ct::SignedCertificateTimestamp>& sct, 21 const scoped_refptr<ct::SignedCertificateTimestamp>& sct,
20 ct::SCTVerifyStatus status); 22 ct::SCTVerifyStatus status);
21 23
22 SignedCertificateTimestampAndStatus( 24 SignedCertificateTimestampAndStatus(
23 const SignedCertificateTimestampAndStatus& other); 25 const SignedCertificateTimestampAndStatus& other);
24 26
25 ~SignedCertificateTimestampAndStatus(); 27 ~SignedCertificateTimestampAndStatus();
26 28
27 scoped_refptr<ct::SignedCertificateTimestamp> sct; 29 scoped_refptr<ct::SignedCertificateTimestamp> sct;
28 ct::SCTVerifyStatus status; 30 ct::SCTVerifyStatus status;
29 }; 31 };
30 32
31 typedef std::vector<SignedCertificateTimestampAndStatus> 33 typedef std::vector<SignedCertificateTimestampAndStatus>
32 SignedCertificateTimestampAndStatusList; 34 SignedCertificateTimestampAndStatusList;
33 35
34 } // namespace net 36 } // namespace net
35 37
36 #endif // NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_ 38 #endif // NET_SSL_SIGNED_CERTIFICATE_TIMESTAMP_AND_STATUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698