Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/browser/browsing_data/

Issue 369703002: Remember user decisions on invalid certificates behind a flag (Closed) Base URL: svn://
Patch Set: More fixes from sleevi plus a rebase on ToT 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/browsing_data/
diff --git a/chrome/browser/browsing_data/ b/chrome/browser/browsing_data/
index d9f4802afb4afaef404bd6757bd5fec6b1eac6fa..0faabd11bdd8d9f1f44733a90e51569063f334b4 100644
--- a/chrome/browser/browsing_data/
+++ b/chrome/browser/browsing_data/
@@ -59,6 +59,7 @@
#include "content/public/browser/notification_service.h"
#include "content/public/browser/plugin_data_remover.h"
#include "content/public/browser/session_storage_usage_info.h"
+#include "content/public/browser/ssl_host_state_decisions.h"
#include "content/public/browser/storage_partition.h"
#include "content/public/browser/user_metrics.h"
#include "net/base/net_errors.h"
@@ -405,6 +406,11 @@ void BrowsingDataRemover::RemoveImpl(int remove_mask,
+ // The SSL Host State that tracks SSL interstitial "proceed" decisions may
+ // include origins that the user has visited, so it must be cleared.
+ if (profile_->GetSSLHostStateDecisions())
+ profile_->GetSSLHostStateDecisions()->Clear();
Ryan Sleevi 2014/07/17 23:19:35 Privacy question: What if the user tries to delete
jww 2014/07/21 23:39:32 No, this deletes the cert memory if they delete th
if ((remove_mask & REMOVE_DOWNLOADS) && may_delete_history) {

Powered by Google App Engine
This is Rietveld 408576698