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; | |
106 }; | 98 }; |
107 | 99 |
108 typedef std::vector<CookieInfo> CookieInfoList; | 100 typedef std::vector<CookieInfo> CookieInfoList; |
109 typedef std::vector<PermissionInfo> PermissionInfoList; | 101 typedef std::vector<PermissionInfo> PermissionInfoList; |
110 | 102 |
111 virtual ~WebsiteSettingsUI(); | 103 virtual ~WebsiteSettingsUI(); |
112 | 104 |
113 // Returns the UI string for the given permission |type|. | 105 // Returns the UI string for the given permission |type|. |
114 static base::string16 PermissionTypeToUIString(ContentSettingsType type); | 106 static base::string16 PermissionTypeToUIString(ContentSettingsType type); |
115 | 107 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 virtual void SetFirstVisit(const base::string16& first_visit) = 0; | 162 virtual void SetFirstVisit(const base::string16& first_visit) = 0; |
171 | 163 |
172 // Selects the tab with the given |tab_id|. | 164 // Selects the tab with the given |tab_id|. |
173 virtual void SetSelectedTab(TabId tab_id) = 0; | 165 virtual void SetSelectedTab(TabId tab_id) = 0; |
174 }; | 166 }; |
175 | 167 |
176 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; | 168 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; |
177 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; | 169 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; |
178 | 170 |
179 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ | 171 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ |
OLD | NEW |