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

Unified Diff: chrome/browser/ssl/ssl_blocking_page.cc

Issue 1957483003: Removal of SignedCertificateTimestampStore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed IPC problem Created 4 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
Index: chrome/browser/ssl/ssl_blocking_page.cc
diff --git a/chrome/browser/ssl/ssl_blocking_page.cc b/chrome/browser/ssl/ssl_blocking_page.cc
index 89b20db7c0d4eb01bd1282ab742a828d4e779900..82bede2a2ce4c8b275753b133df3ce29bb60ce0e 100644
--- a/chrome/browser/ssl/ssl_blocking_page.cc
+++ b/chrome/browser/ssl/ssl_blocking_page.cc
@@ -31,7 +31,6 @@
#include "content/public/browser/interstitial_page_delegate.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/render_process_host.h"
-#include "content/public/browser/signed_certificate_timestamp_store.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/renderer_preferences.h"
#include "content/public/common/ssl_status.h"
@@ -199,19 +198,8 @@ void SSLBlockingPage::OverrideEntry(NavigationEntry* entry) {
ssl_info_.cert.get(), process_id);
DCHECK(cert_id);
- content::SignedCertificateTimestampStore* sct_store(
- content::SignedCertificateTimestampStore::GetInstance());
- content::SignedCertificateTimestampIDStatusList sct_ids;
- for (const auto& sct_and_status : ssl_info_.signed_certificate_timestamps) {
- const int sct_id(sct_store->Store(sct_and_status.sct.get(), process_id));
- DCHECK(sct_id);
- sct_ids.push_back(content::SignedCertificateTimestampIDAndStatus(
- sct_id, sct_and_status.status));
- }
-
- entry->GetSSL() =
- content::SSLStatus(content::SECURITY_STYLE_AUTHENTICATION_BROKEN, cert_id,
- sct_ids, ssl_info_);
+ entry->GetSSL() = content::SSLStatus(
+ content::SECURITY_STYLE_AUTHENTICATION_BROKEN, cert_id, ssl_info_);
}
void SSLBlockingPage::SetSSLCertReporterForTesting(
« no previous file with comments | « chrome/browser/ssl/chrome_security_state_model_client.cc ('k') | chrome/browser/ui/website_settings/website_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698