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

Unified Diff: chrome/browser/browsing_data/browsing_data_remover.cc

Issue 369703002: Remember user decisions on invalid certificates behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed broken include 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/browsing_data_remover.cc
diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc
index 9caff33e5edb12b7685a2f211f52171987a12996..b0f510d35e99736aba00ac7feccf93a3e822bfdd 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover.cc
@@ -58,6 +58,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_delegate.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,
base::Bind(&BrowsingDataRemover::OnClearedWebRtcLogs,
base::Unretained(this)));
#endif
+
+ // 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_->GetSSLHostStateDelegate())
+ profile_->GetSSLHostStateDelegate()->Clear();
}
if ((remove_mask & REMOVE_DOWNLOADS) && may_delete_history) {

Powered by Google App Engine
This is Rietveld 408576698