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

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

Issue 2327433002: Stop using CertStore which is not compatible with PlzNavigate. (Closed)
Patch Set: remove cert_store on ios Created 4 years, 3 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
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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 10 matching lines...) Expand all
21 class WebsiteSettings; 21 class WebsiteSettings;
22 22
23 namespace base { 23 namespace base {
24 class Value; 24 class Value;
25 }; 25 };
26 26
27 namespace gfx { 27 namespace gfx {
28 class Image; 28 class Image;
29 } 29 }
30 30
31 namespace net {
32 class X509Certificate;
33 }
34
31 // The class |WebsiteSettingsUI| specifies the platform independent 35 // The class |WebsiteSettingsUI| specifies the platform independent
32 // interface of the website settings UI. The website settings UI displays 36 // interface of the website settings UI. The website settings UI displays
33 // information and controls for site specific data (local stored objects like 37 // information and controls for site specific data (local stored objects like
34 // cookies), site specific permissions (location, popup, plugin, etc. 38 // cookies), site specific permissions (location, popup, plugin, etc.
35 // permissions) and site specific information (identity, connection status, 39 // permissions) and site specific information (identity, connection status,
36 // etc.). 40 // etc.).
37 class WebsiteSettingsUI { 41 class WebsiteSettingsUI {
38 public: 42 public:
39 // The Website Settings UI contains several tabs. Each tab is associated with 43 // The Website Settings UI contains several tabs. Each tab is associated with
40 // a unique tab id. The enum |TabId| contains all the ids for the tabs. 44 // a unique tab id. The enum |TabId| contains all the ids for the tabs.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // Extended Validation certificates, or the URL's hostname for all other 101 // Extended Validation certificates, or the URL's hostname for all other
98 // sites. 102 // sites.
99 std::string site_identity; 103 std::string site_identity;
100 // Status of the site's identity. 104 // Status of the site's identity.
101 WebsiteSettings::SiteIdentityStatus identity_status; 105 WebsiteSettings::SiteIdentityStatus identity_status;
102 // Helper to get the status text to display to the user. 106 // Helper to get the status text to display to the user.
103 base::string16 GetSecuritySummary() const; 107 base::string16 GetSecuritySummary() const;
104 // Textual description of the site's identity status that is displayed to 108 // Textual description of the site's identity status that is displayed to
105 // the user. 109 // the user.
106 std::string identity_status_description; 110 std::string identity_status_description;
107 // The ID is the server certificate of a secure connection or 0. 111 // The server certificate if a secure connection.
108 int cert_id; 112 scoped_refptr<net::X509Certificate> certificate;
109 // Status of the site's connection. 113 // Status of the site's connection.
110 WebsiteSettings::SiteConnectionStatus connection_status; 114 WebsiteSettings::SiteConnectionStatus connection_status;
111 // Textual description of the site's connection status that is displayed to 115 // Textual description of the site's connection status that is displayed to
112 // the user. 116 // the user.
113 std::string connection_status_description; 117 std::string connection_status_description;
114 // Set when the user has explicitly bypassed an SSL error for this host and 118 // Set when the user has explicitly bypassed an SSL error for this host and
115 // has a flag set to remember ssl decisions (explicit flag or in the 119 // has a flag set to remember ssl decisions (explicit flag or in the
116 // experimental group). When |show_ssl_decision_revoke_button| is true, the 120 // experimental group). When |show_ssl_decision_revoke_button| is true, the
117 // connection area of the page info will include an option for the user to 121 // connection area of the page info will include an option for the user to
118 // revoke their decision to bypass the SSL error for this host. 122 // revoke their decision to bypass the SSL error for this host.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 191
188 // Selects the tab with the given |tab_id|. 192 // Selects the tab with the given |tab_id|.
189 virtual void SetSelectedTab(TabId tab_id) = 0; 193 virtual void SetSelectedTab(TabId tab_id) = 0;
190 }; 194 };
191 195
192 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList; 196 typedef WebsiteSettingsUI::CookieInfoList CookieInfoList;
193 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList; 197 typedef WebsiteSettingsUI::PermissionInfoList PermissionInfoList;
194 typedef WebsiteSettingsUI::ChosenObjectInfoList ChosenObjectInfoList; 198 typedef WebsiteSettingsUI::ChosenObjectInfoList ChosenObjectInfoList;
195 199
196 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_ 200 #endif // CHROME_BROWSER_UI_WEBSITE_SETTINGS_WEBSITE_SETTINGS_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings.cc ('k') | chrome/browser/ui/website_settings/website_settings_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698