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 // Set when the user has explicitly bypassed an SSL error for this host or |
| 99 // explicitly denied it (the latter of which is not currently possible in |
| 100 // the Chrome UI) and has a flag set to remember ssl decisions (explicit |
| 101 // flag or in the experimental group). When |
| 102 // |show_ssl_decision_revoke_button| is true, the connection area of the |
| 103 // page info will include an option for the user to revoke their decision to |
| 104 // bypass the SSL error for this host. |
| 105 bool show_ssl_decision_revoke_button; |
98 }; | 106 }; |
99 | 107 |
100 typedef std::vector<CookieInfo> CookieInfoList; | 108 typedef std::vector<CookieInfo> CookieInfoList; |
101 typedef std::vector<PermissionInfo> PermissionInfoList; | 109 typedef std::vector<PermissionInfo> PermissionInfoList; |
102 | 110 |
103 virtual ~WebsiteSettingsUI(); | 111 virtual ~WebsiteSettingsUI(); |
104 | 112 |
105 // Returns the UI string for the given permission |type|. | 113 // Returns the UI string for the given permission |type|. |
106 static base::string16 PermissionTypeToUIString(ContentSettingsType type); | 114 static base::string16 PermissionTypeToUIString(ContentSettingsType type); |
107 | 115 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 virtual void SetFirstVisit(const base::string16& first_visit) = 0; | 170 virtual void SetFirstVisit(const base::string16& first_visit) = 0; |
163 | 171 |
164 // Selects the tab with the given |tab_id|. | 172 // Selects the tab with the given |tab_id|. |
165 virtual void SetSelectedTab(TabId tab_id) = 0; | 173 virtual void SetSelectedTab(TabId tab_id) = 0; |
166 }; | 174 }; |
167 | 175 |
168 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; | 176 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; |
169 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; | 177 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; |
170 | 178 |
171 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ | 179 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ |
OLD | NEW |