Index: chrome/browser/certificate_viewer.cc |
=================================================================== |
--- chrome/browser/certificate_viewer.cc (revision 75626) |
+++ chrome/browser/certificate_viewer.cc (working copy) |
@@ -1,18 +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 "chrome/browser/cert_store.h" |
- |
-void ShowCertificateViewerByID(gfx::NativeWindow parent, int cert_id) { |
- scoped_refptr<net::X509Certificate> cert; |
- 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(parent, cert); |
-} |