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

Unified Diff: chrome/browser/certificate_viewer.cc

Issue 2327433002: Stop using CertStore which is not compatible with PlzNavigate. (Closed)
Patch Set: remove cert_store on ios Created 4 years, 3 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 | « chrome/browser/certificate_viewer.h ('k') | chrome/browser/devtools/devtools_ui_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/certificate_viewer.cc
diff --git a/chrome/browser/certificate_viewer.cc b/chrome/browser/certificate_viewer.cc
deleted file mode 100644
index 4c2c6e6385f4e0987fff99b970f608c81928933e..0000000000000000000000000000000000000000
--- a/chrome/browser/certificate_viewer.cc
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/certificate_viewer.h"
-
-#include "content/public/browser/cert_store.h"
-#include "net/cert/x509_certificate.h"
-
-void ShowCertificateViewerByID(content::WebContents* web_contents,
- gfx::NativeWindow parent,
- int cert_id) {
- scoped_refptr<net::X509Certificate> cert;
- content::CertStore::GetInstance()->RetrieveCert(cert_id, &cert);
- if (!cert.get()) {
- // The certificate was not found. Could be that the renderer crashed before
- // we displayed the page info.
- return;
- }
- ShowCertificateViewer(web_contents, parent, cert.get());
-}
« no previous file with comments | « chrome/browser/certificate_viewer.h ('k') | chrome/browser/devtools/devtools_ui_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698