| 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/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
| 10 #include "base/task/cancelable_task_tracker.h" | 10 #include "base/task/cancelable_task_tracker.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // Site identity could not be verified because the site did not provide a | 59 // Site identity could not be verified because the site did not provide a |
| 60 // certificate. This is the expected state for HTTP connections. | 60 // certificate. This is the expected state for HTTP connections. |
| 61 SITE_IDENTITY_STATUS_NO_CERT, | 61 SITE_IDENTITY_STATUS_NO_CERT, |
| 62 // An error occured while verifying the site identity. | 62 // An error occured while verifying the site identity. |
| 63 SITE_IDENTITY_STATUS_ERROR, | 63 SITE_IDENTITY_STATUS_ERROR, |
| 64 // The site is a trusted internal chrome page. | 64 // The site is a trusted internal chrome page. |
| 65 SITE_IDENTITY_STATUS_INTERNAL_PAGE, | 65 SITE_IDENTITY_STATUS_INTERNAL_PAGE, |
| 66 // The profile has accessed data using an administrator-provided | 66 // The profile has accessed data using an administrator-provided |
| 67 // certificate, so the site might be able to intercept data. | 67 // certificate, so the site might be able to intercept data. |
| 68 SITE_IDENTITY_STATUS_ADMIN_PROVIDED_CERT, | 68 SITE_IDENTITY_STATUS_ADMIN_PROVIDED_CERT, |
| 69 // The website provided a valid certificate, but the certificate or chain |
| 70 // is using a deprecated signature algorithm. |
| 71 SITE_IDENTITY_STATUS_DEPRECATED_SIGNATURE_ALGORITHM, |
| 69 }; | 72 }; |
| 70 | 73 |
| 71 // Creates a WebsiteSettings for the passed |url| using the given |ssl| status | 74 // Creates a WebsiteSettings for the passed |url| using the given |ssl| status |
| 72 // object to determine the status of the site's connection. The | 75 // object to determine the status of the site's connection. The |
| 73 // |WebsiteSettings| takes ownership of the |ui|. | 76 // |WebsiteSettings| takes ownership of the |ui|. |
| 74 WebsiteSettings(WebsiteSettingsUI* ui, | 77 WebsiteSettings(WebsiteSettingsUI* ui, |
| 75 Profile* profile, | 78 Profile* profile, |
| 76 TabSpecificContentSettings* tab_specific_content_settings, | 79 TabSpecificContentSettings* tab_specific_content_settings, |
| 77 InfoBarService* infobar_service, | 80 InfoBarService* infobar_service, |
| 78 const GURL& url, | 81 const GURL& url, |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 // Service for managing SSL error page bypasses. Used to revoke bypass | 220 // Service for managing SSL error page bypasses. Used to revoke bypass |
| 218 // decisions by users. | 221 // decisions by users. |
| 219 ChromeSSLHostStateDelegate* chrome_ssl_host_state_delegate_; | 222 ChromeSSLHostStateDelegate* chrome_ssl_host_state_delegate_; |
| 220 | 223 |
| 221 bool did_revoke_user_ssl_decisions_; | 224 bool did_revoke_user_ssl_decisions_; |
| 222 | 225 |
| 223 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); | 226 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); |
| 224 }; | 227 }; |
| 225 | 228 |
| 226 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ | 229 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ |
| OLD | NEW |