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" |
11 #include "components/content_settings/core/common/content_settings.h" | 11 #include "components/content_settings/core/common/content_settings.h" |
12 #include "components/content_settings/core/common/content_settings_types.h" | 12 #include "components/content_settings/core/common/content_settings_types.h" |
13 #include "components/security_state/security_state_model.h" | 13 #include "components/security_state/security_state_model.h" |
14 #include "content/public/common/signed_certificate_timestamp_id_and_status.h" | |
15 #include "url/gurl.h" | 14 #include "url/gurl.h" |
16 | 15 |
17 namespace content { | 16 namespace content { |
18 class CertStore; | 17 class CertStore; |
19 class WebContents; | 18 class WebContents; |
20 } | 19 } |
21 | 20 |
22 class ChromeSSLHostStateDelegate; | 21 class ChromeSSLHostStateDelegate; |
23 class ChooserContextBase; | 22 class ChooserContextBase; |
24 class HostContentSettingsMap; | 23 class HostContentSettingsMap; |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 // The Omnibox URL of the website for which to display site permissions and | 190 // The Omnibox URL of the website for which to display site permissions and |
192 // site information. | 191 // site information. |
193 GURL site_url_; | 192 GURL site_url_; |
194 | 193 |
195 // Status of the website's identity verification check. | 194 // Status of the website's identity verification check. |
196 SiteIdentityStatus site_identity_status_; | 195 SiteIdentityStatus site_identity_status_; |
197 | 196 |
198 // For secure connection |cert_id_| is set to the ID of the server | 197 // For secure connection |cert_id_| is set to the ID of the server |
199 // certificate. For non secure connections |cert_id_| is 0. | 198 // certificate. For non secure connections |cert_id_| is 0. |
200 int cert_id_; | 199 int cert_id_; |
201 // For secure connection, |signed_certificate_timestamp_ids_| is the list of | |
202 // all Signed Certificate Timestamps and their validation status. | |
203 // Empty if no SCTs accompanied the certificate | |
204 content::SignedCertificateTimestampIDStatusList | |
205 signed_certificate_timestamp_ids_; | |
206 | 200 |
207 // Status of the connection to the website. | 201 // Status of the connection to the website. |
208 SiteConnectionStatus site_connection_status_; | 202 SiteConnectionStatus site_connection_status_; |
209 | 203 |
210 // TODO(markusheintz): Move the creation of all the base::string16 typed UI | 204 // TODO(markusheintz): Move the creation of all the base::string16 typed UI |
211 // strings below to the corresponding UI code, in order to prevent | 205 // strings below to the corresponding UI code, in order to prevent |
212 // unnecessary UTF-8 string conversions. | 206 // unnecessary UTF-8 string conversions. |
213 | 207 |
214 // Details about the website's identity. If the website's identity has been | 208 // Details about the website's identity. If the website's identity has been |
215 // verified then |site_identity_details_| contains who verified the identity. | 209 // verified then |site_identity_details_| contains who verified the identity. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 ChromeSSLHostStateDelegate* chrome_ssl_host_state_delegate_; | 241 ChromeSSLHostStateDelegate* chrome_ssl_host_state_delegate_; |
248 | 242 |
249 bool did_revoke_user_ssl_decisions_; | 243 bool did_revoke_user_ssl_decisions_; |
250 | 244 |
251 Profile* profile_; | 245 Profile* profile_; |
252 | 246 |
253 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); | 247 DISALLOW_COPY_AND_ASSIGN(WebsiteSettings); |
254 }; | 248 }; |
255 | 249 |
256 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ | 250 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_H_ |
OLD | NEW |