| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 site is a trusted internal chrome page. | 71 // The site is a trusted internal chrome page. |
| 72 SITE_IDENTITY_STATUS_INTERNAL_PAGE, | 72 SITE_IDENTITY_STATUS_INTERNAL_PAGE, |
| 73 // The profile has accessed data using an administrator-provided | 73 // The profile has accessed data using an administrator-provided |
| 74 // certificate, so the administrator might be able to intercept data. | 74 // certificate, so the administrator might be able to intercept data. |
| 75 SITE_IDENTITY_STATUS_ADMIN_PROVIDED_CERT, | 75 SITE_IDENTITY_STATUS_ADMIN_PROVIDED_CERT, |
| 76 // The website provided a valid certificate, but the certificate or chain | 76 // The website provided a valid certificate, but the certificate or chain |
| 77 // is using a deprecated signature algorithm. | 77 // is using a deprecated signature algorithm. |
| 78 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM_MINOR, | 78 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM, |
| 79 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM_MAJOR, | |
| 80 // The website has been flagged by Safe Browsing as dangerous for | 79 // The website has been flagged by Safe Browsing as dangerous for |
| 81 // containing malware, social engineering, or unwanted software. | 80 // containing malware, social engineering, or unwanted software. |
| 82 SITE_IDENTITY_STATUS_MALWARE, | 81 SITE_IDENTITY_STATUS_MALWARE, |
| 83 SITE_IDENTITY_STATUS_SOCIAL_ENGINEERING, | 82 SITE_IDENTITY_STATUS_SOCIAL_ENGINEERING, |
| 84 SITE_IDENTITY_STATUS_UNWANTED_SOFTWARE, | 83 SITE_IDENTITY_STATUS_UNWANTED_SOFTWARE, |
| 85 }; | 84 }; |
| 86 | 85 |
| 87 // UMA statistics for WebsiteSettings. Do not reorder or remove existing | 86 // UMA statistics for WebsiteSettings. Do not reorder or remove existing |
| 88 // fields. A Java counterpart will be generated for this enum. | 87 // fields. A Java counterpart will be generated for this enum. |
| 89 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.pageinfo | 88 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.pageinfo |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 bool did_revoke_user_ssl_decisions_; | 235 bool did_revoke_user_ssl_decisions_; |
| 237 | 236 |
| 238 Profile* profile_; | 237 Profile* profile_; |
| 239 | 238 |
| 240 security_state::SecurityLevel security_level_; | 239 security_state::SecurityLevel security_level_; |
| 241 | 240 |
| 242 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); | 241 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); |
| 243 }; | 242 }; |
| 244 | 243 |
| 245 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ | 244 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ |
| OLD | NEW |