| 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 CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ |
| 6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ | 6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "chrome/browser/content_settings/tab_specific_content_settings.h" | 10 #include "chrome/browser/content_settings/tab_specific_content_settings.h" |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // The website provided a valid EV certificate. | 61 // The website provided a valid EV certificate. |
| 62 SITE_IDENTITY_STATUS_EV_CERT, | 62 SITE_IDENTITY_STATUS_EV_CERT, |
| 63 // The website provided a valid certificate but no revocation check could be | 63 // The website provided a valid certificate but no revocation check could be |
| 64 // performed. | 64 // performed. |
| 65 SITE_IDENTITY_STATUS_CERT_REVOCATION_UNKNOWN, | 65 SITE_IDENTITY_STATUS_CERT_REVOCATION_UNKNOWN, |
| 66 // Site identity could not be verified because the site did not provide a | 66 // Site identity could not be verified because the site did not provide a |
| 67 // certificate. This is the expected state for HTTP connections. | 67 // certificate. This is the expected state for HTTP connections. |
| 68 SITE_IDENTITY_STATUS_NO_CERT, | 68 SITE_IDENTITY_STATUS_NO_CERT, |
| 69 // An error occured while verifying the site identity. | 69 // An error occured while verifying the site identity. |
| 70 SITE_IDENTITY_STATUS_ERROR, | 70 SITE_IDENTITY_STATUS_ERROR, |
| 71 // The website provided a valid certificate but all signed | |
| 72 // certificate timestamps failed to validate. | |
| 73 SITE_IDENTITY_STATUS_CT_ERROR, | |
| 74 // The site is a trusted internal chrome page. | 71 // The site is a trusted internal chrome page. |
| 75 SITE_IDENTITY_STATUS_INTERNAL_PAGE, | 72 SITE_IDENTITY_STATUS_INTERNAL_PAGE, |
| 76 // The profile has accessed data using an administrator-provided | 73 // The profile has accessed data using an administrator-provided |
| 77 // certificate, so the administrator might be able to intercept data. | 74 // certificate, so the administrator might be able to intercept data. |
| 78 SITE_IDENTITY_STATUS_ADMIN_PROVIDED_CERT, | 75 SITE_IDENTITY_STATUS_ADMIN_PROVIDED_CERT, |
| 79 // The website provided a valid certificate, but the certificate or chain | 76 // The website provided a valid certificate, but the certificate or chain |
| 80 // is using a deprecated signature algorithm. | 77 // is using a deprecated signature algorithm. |
| 81 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM_MINOR, | 78 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM_MINOR, |
| 82 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM_MAJOR, | 79 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM_MAJOR, |
| 83 // The website has been flagged by Safe Browsing as dangerous for | 80 // The website has been flagged by Safe Browsing as dangerous for |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 bool did_revoke_user_ssl_decisions_; | 237 bool did_revoke_user_ssl_decisions_; |
| 241 | 238 |
| 242 Profile* profile_; | 239 Profile* profile_; |
| 243 | 240 |
| 244 security_state::SecurityStateModel::SecurityLevel security_level_; | 241 security_state::SecurityStateModel::SecurityLevel security_level_; |
| 245 | 242 |
| 246 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); | 243 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); |
| 247 }; | 244 }; |
| 248 | 245 |
| 249 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ | 246 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ |
| OLD | NEW |