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

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

Issue 476513002: Add UMA histogram to count hard revokes of user certificate error decisions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on ToT Created 6 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 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 5b571e6165262ab01d24a389546f608beb7e5e7a..52e58bb3351109b536b5635a7bca6c096aa4cf06 100644
--- a/chrome/browser/ui/website_settings/website_settings.h
+++ b/chrome/browser/ui/website_settings/website_settings.h
@@ -93,6 +93,9 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver {
// This method is called by the UI when the UI is closing.
void OnUIClosing();
+ // This method is called when the revoke SSL error bypass button is pressed.
+ void OnRevokeSSLErrorBypassButtonPressed();
+
// Accessors.
SiteConnectionStatus site_connection_status() const {
return site_connection_status_;
@@ -116,10 +119,6 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver {
return organization_name_;
}
- ChromeSSLHostStateDelegate* chrome_ssl_host_state_delegate() {
- return chrome_ssl_host_state_delegate_;
- }
-
// SiteDataObserver implementation.
virtual void OnSiteDataAccessed() OVERRIDE;
@@ -219,6 +218,8 @@ class WebsiteSettings : public TabSpecificContentSettings::SiteDataObserver {
// decisions by users.
ChromeSSLHostStateDelegate* chrome_ssl_host_state_delegate_;
+ bool did_revoke_user_ssl_decisions_;
+
DISALLOW_COPY_AND_ASSIGN(WebsiteSettings);
};

Powered by Google App Engine
This is Rietveld 408576698