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