Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Side by Side Diff: chrome/browser/ui/website_settings/website_settings_ui.h

Issue 465133004: Remove DenyCertForHost from SSLHostStateDelegate API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style nit Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 98 // Set when the user has explicitly bypassed an SSL error for this host and
99 // explicitly denied it (the latter of which is not currently possible in 99 // has a flag set to remember ssl decisions (explicit flag or in the
100 // the Chrome UI) and has a flag set to remember ssl decisions (explicit 100 // experimental group). When |show_ssl_decision_revoke_button| is true, the
101 // flag or in the experimental group). When 101 // connection area of the page info will include an option for the user to
102 // |show_ssl_decision_revoke_button| is true, the connection area of the 102 // revoke their decision to bypass the SSL error for this host.
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; 103 bool show_ssl_decision_revoke_button;
106 }; 104 };
107 105
108 typedef std::vector<CookieInfo> CookieInfoList; 106 typedef std::vector<CookieInfo> CookieInfoList;
109 typedef std::vector<PermissionInfo> PermissionInfoList; 107 typedef std::vector<PermissionInfo> PermissionInfoList;
110 108
111 virtual ~WebsiteSettingsUI(); 109 virtual ~WebsiteSettingsUI();
112 110
113 // Returns the UI string for the given permission |type|. 111 // Returns the UI string for the given permission |type|.
114 static base::string16 PermissionTypeToUIString(ContentSettingsType type); 112 static base::string16 PermissionTypeToUIString(ContentSettingsType type);
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 virtual void SetFirstVisit(const base::string16& first_visit) = 0; 168 virtual void SetFirstVisit(const base::string16& first_visit) = 0;
171 169
172 // Selects the tab with the given |tab_id|. 170 // Selects the tab with the given |tab_id|.
173 virtual void SetSelectedTab(TabId tab_id) = 0; 171 virtual void SetSelectedTab(TabId tab_id) = 0;
174 }; 172 };
175 173
176 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; 174 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList;
177 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; 175 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList;
178 176
179 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ 177 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698