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

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: Created 6 years, 5 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 2d9c2ce95c5fe67313d2d58a782891a695b7bc72..314e84fca6bb088e73bd3bee0d59dda0b4f18369 100644
--- a/chrome/browser/ui/website_settings/website_settings.h
+++ b/chrome/browser/ui/website_settings/website_settings.h
@@ -117,6 +117,10 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver {
// SiteDataObserver implementation.
virtual void OnSiteDataAccessed() OVERRIDE;
+ // Returns the Omnibox URL of the website for which to display site
+ // permissions and site information.
Peter Kasting 2014/07/26 02:40:39 Nit: Remove this comment. The comment on the memb
jww 2014/07/27 17:29:26 Done.
+ const GURL& GetSiteURL() const { return site_url_; }
Peter Kasting 2014/07/26 02:40:39 Nit: Inlined accessors should be named unix_hacker
jww 2014/07/27 17:29:26 Done.
+
private:
// Initializes the |WebsiteSettings|.
void Init(Profile* profile,
@@ -179,6 +183,10 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver {
// This string will be displayed in the UI.
base::string16 site_identity_details_;
+ // Whether the user has made an explicit decision about how some certificate
+ // errors for this host should be handled.
+ 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