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

Unified Diff: chrome/browser/ui/website_settings/website_settings.h

Issue 418133012: Add button to page info to revoke user certificate decisions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address pkasting comments 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/website_settings/website_settings.h
diff --git a/chrome/browser/ui/website_settings/website_settings.h b/chrome/browser/ui/website_settings/website_settings.h
index 8bbf48188e2c41fffb35eb8ab8e6b32ba8e7b7cc..db678b61807f835d54a050cf987da6d11b896fb8 100644
--- a/chrome/browser/ui/website_settings/website_settings.h
+++ b/chrome/browser/ui/website_settings/website_settings.h
@@ -97,6 +97,8 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver {
return site_connection_status_;
}
+ const GURL& site_url() const { return site_url_; }
+
SiteIdentityStatus site_identity_status() const {
return site_identity_status_;
}
@@ -178,6 +180,12 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver {
// This string will be displayed in the UI.
base::string16 site_identity_details_;
+ // Set when the user has explicitly bypassed an SSL error for this host.
+ // When |certificate_decision_made| is true, the connection area of the
+ // page info will include an option for the user to revoke their decision to
+ // bypass the SSL error for this host.
Peter Kasting 2014/08/07 03:56:58 (See comment in website_settings_ui.h )
jww 2014/08/08 16:48:50 Acknowledged.
+ bool certificate_decision_made_;
+
// Details about the connection to the website. In case of an encrypted
// connection |site_connection_details_| contains encryption details, like
// encryption strength and ssl protocol version. This string will be

Powered by Google App Engine
This is Rietveld 408576698