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

Side by Side Diff: content/public/common/ssl_status.h

Issue 27026002: CT: Adding preliminary Certificate Transparency support to Chromium. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Distinguish between SCTs from unknown logs and unverified ones Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
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 CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_SSL_STATUS_H_
6 #define CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ 6 #define CONTENT_PUBLIC_COMMON_SSL_STATUS_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/public/common/security_style.h" 9 #include "content/public/common/security_style.h"
10 #include "net/cert/cert_status_flags.h" 10 #include "net/cert/cert_status_flags.h"
(...skipping 17 matching lines...) Expand all
28 RAN_INSECURE_CONTENT = 1 << 1, 28 RAN_INSECURE_CONTENT = 1 << 1,
29 }; 29 };
30 30
31 SSLStatus(); 31 SSLStatus();
32 32
33 bool Equals(const SSLStatus& status) const { 33 bool Equals(const SSLStatus& status) const {
34 return security_style == status.security_style && 34 return security_style == status.security_style &&
35 cert_id == status.cert_id && 35 cert_id == status.cert_id &&
36 cert_status == status.cert_status && 36 cert_status == status.cert_status &&
37 security_bits == status.security_bits && 37 security_bits == status.security_bits &&
38 content_status == status.content_status; 38 content_status == status.content_status &&
39 signed_certificate_timestamp_id ==
40 status.signed_certificate_timestamp_id;
39 } 41 }
40 42
41 content::SecurityStyle security_style; 43 content::SecurityStyle security_style;
42 int cert_id; 44 int cert_id;
43 net::CertStatus cert_status; 45 net::CertStatus cert_status;
44 int security_bits; 46 int security_bits;
45 int connection_status; 47 int connection_status;
46 // A combination of the ContentStatusFlags above. 48 // A combination of the ContentStatusFlags above.
47 int content_status; 49 int content_status;
50 int signed_certificate_timestamp_id;
48 }; 51 };
49 52
50 } // namespace content 53 } // namespace content
51 54
52 #endif // CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ 55 #endif // CONTENT_PUBLIC_COMMON_SSL_STATUS_H_
OLDNEW
« no previous file with comments | « content/common/ssl_status_serialization.cc ('k') | content/renderer/context_menu_params_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698