Chromium Code Reviews| 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_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 88 // The ID is the server certificate of a secure connection or 0. | 88 // The ID is the server certificate of a secure connection or 0. |
| 89 int cert_id; | 89 int cert_id; |
| 90 // Signed Certificate Timestamp ids and status | 90 // Signed Certificate Timestamp ids and status |
| 91 content::SignedCertificateTimestampIDStatusList | 91 content::SignedCertificateTimestampIDStatusList |
| 92 signed_certificate_timestamp_ids; | 92 signed_certificate_timestamp_ids; |
| 93 // Status of the site's connection. | 93 // Status of the site's connection. |
| 94 WebsiteSettings::SiteConnectionStatus connection_status; | 94 WebsiteSettings::SiteConnectionStatus connection_status; |
| 95 // Textual description of the site's connection status that is displayed to | 95 // Textual description of the site's connection status that is displayed to |
| 96 // the user. | 96 // the user. |
| 97 std::string connection_status_description; | 97 std::string connection_status_description; |
| 98 // Specifies if the user has made an explicit decision about how to handle | |
| 99 // at least one certificate error for this host. | |
|
Peter Kasting
2014/08/06 01:19:07
Nit: This comment is a little odd, mostly because
jww
2014/08/06 17:58:18
Done.
| |
| 100 bool certificate_decision_made; | |
| 98 }; | 101 }; |
| 99 | 102 |
| 100 typedef std::vector<CookieInfo> CookieInfoList; | 103 typedef std::vector<CookieInfo> CookieInfoList; |
| 101 typedef std::vector<PermissionInfo> PermissionInfoList; | 104 typedef std::vector<PermissionInfo> PermissionInfoList; |
| 102 | 105 |
| 103 virtual ~WebsiteSettingsUI(); | 106 virtual ~WebsiteSettingsUI(); |
| 104 | 107 |
| 105 // Returns the UI string for the given permission |type|. | 108 // Returns the UI string for the given permission |type|. |
| 106 static base::string16 PermissionTypeToUIString(ContentSettingsType type); | 109 static base::string16 PermissionTypeToUIString(ContentSettingsType type); |
| 107 | 110 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 162 virtual void SetFirstVisit(const base::string16& first_visit) = 0; | 165 virtual void SetFirstVisit(const base::string16& first_visit) = 0; |
| 163 | 166 |
| 164 // Selects the tab with the given |tab_id|. | 167 // Selects the tab with the given |tab_id|. |
| 165 virtual void SetSelectedTab(TabId tab_id) = 0; | 168 virtual void SetSelectedTab(TabId tab_id) = 0; |
| 166 }; | 169 }; |
| 167 | 170 |
| 168 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; | 171 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; |
| 169 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; | 172 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; |
| 170 | 173 |
| 171 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ | 174 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ |
| OLD | NEW |