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

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: Created 6 years, 6 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 8b066105e1be5a5f37985e252830e587c19774b9..3e0927608a21d25550c4fdc89faa8c3f3c9682b2 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover.cc
@@ -73,6 +73,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"
@@ -401,6 +402,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_->GetSSLHostStateDecisions())
+ profile_->GetSSLHostStateDecisions()->Clear();
felt 2014/07/07 22:26:39 when this is called in Incognito, I assume this ju
jww 2014/07/08 17:35:41 Correct. I've updated the browser tests in chrome_
}
if ((remove_mask & REMOVE_DOWNLOADS) && may_delete_history) {

Powered by Google App Engine
This is Rietveld 408576698