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 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/base/cert_status_flags.h" | 10 #include "net/cert/cert_status_flags.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 // Collects the SSL information for this NavigationEntry. | 14 // Collects the SSL information for this NavigationEntry. |
15 struct CONTENT_EXPORT SSLStatus { | 15 struct CONTENT_EXPORT SSLStatus { |
16 // Flags used for the page security content status. | 16 // Flags used for the page security content status. |
17 enum ContentStatusFlags { | 17 enum ContentStatusFlags { |
18 // HTTP page, or HTTPS page with no insecure content. | 18 // HTTP page, or HTTPS page with no insecure content. |
19 NORMAL_CONTENT = 0, | 19 NORMAL_CONTENT = 0, |
20 | 20 |
(...skipping 22 matching lines...) Expand all Loading... |
43 net::CertStatus cert_status; | 43 net::CertStatus cert_status; |
44 int security_bits; | 44 int security_bits; |
45 int connection_status; | 45 int connection_status; |
46 // A combination of the ContentStatusFlags above. | 46 // A combination of the ContentStatusFlags above. |
47 int content_status; | 47 int content_status; |
48 }; | 48 }; |
49 | 49 |
50 } // namespace content | 50 } // namespace content |
51 | 51 |
52 #endif // CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ | 52 #endif // CONTENT_PUBLIC_COMMON_SSL_STATUS_H_ |
OLD | NEW |