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

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

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/website_settings/website_settings.cc
diff --git a/chrome/browser/ui/website_settings/website_settings.cc b/chrome/browser/ui/website_settings/website_settings.cc
index bdb6dd098c6757e2b0cdea4f3ba38ca1e977880f..ec44e6a0c3f663746177ca41ec676a526f4dd431 100644
--- a/chrome/browser/ui/website_settings/website_settings.cc
+++ b/chrome/browser/ui/website_settings/website_settings.cc
@@ -573,7 +573,7 @@ void WebsiteSettings::Init(Profile* profile,
// Only show an SSL decision revoke button if both the user has chosen to
// bypass SSL host errors for this host in the past and the user is not using
// the traditional "forget-at-session-restart" error decision memory.
- show_ssl_decision_revoke_button_ = delegate->HasUserDecision(url.host()) &&
+ show_ssl_decision_revoke_button_ = delegate->HasAllowed(url.host()) &&
InRememberCertificateErrorDecisionsGroup();
// By default select the permissions tab that displays all the site

Powered by Google App Engine
This is Rietveld 408576698