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

Unified Diff: content/browser/ssl/ssl_host_state.h

Issue 10384211: Add SSlHostState::Clear() (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove #ifdef's, add test code Created 8 years, 7 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
« no previous file with comments | « no previous file | content/browser/ssl/ssl_host_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_host_state.h
diff --git a/content/browser/ssl/ssl_host_state.h b/content/browser/ssl/ssl_host_state.h
index b051b0532303130f859f42ec6467a40cca8c1cd3..cca697308c2a88c2038517de6a233f7aaf56bc0d 100644
--- a/content/browser/ssl/ssl_host_state.h
+++ b/content/browser/ssl/ssl_host_state.h
@@ -51,6 +51,9 @@ class CONTENT_EXPORT SSLHostState
// Records that |cert| is not permitted to be used for |host| in the future.
void AllowCertForHost(net::X509Certificate* cert, const std::string& host);
+ // Clear all allow/deny preferences.
+ void Clear();
+
// Queries whether |cert| is allowed or denied for |host|.
net::CertPolicy::Judgment QueryPolicy(
net::X509Certificate* cert, const std::string& host);
« no previous file with comments | « no previous file | content/browser/ssl/ssl_host_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698