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

Unified Diff: chrome/browser/ui/views/page_info_bubble_view.cc

Issue 9691003: Add Content API around CertStore. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix clang Created 8 years, 9 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/ui/toolbar/toolbar_model.cc ('k') | chrome/browser/website_settings_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/page_info_bubble_view.cc
===================================================================
--- chrome/browser/ui/views/page_info_bubble_view.cc (revision 126145)
+++ chrome/browser/ui/views/page_info_bubble_view.cc (working copy)
@@ -13,10 +13,11 @@
#include "chrome/browser/ui/views/toolbar_view.h"
#include "chrome/browser/ui/views/window.h"
#include "chrome/common/url_constants.h"
-#include "content/browser/cert_store.h"
+#include "content/public/browser/cert_store.h"
#include "content/public/common/ssl_status.h"
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
+#include "net/base/x509_certificate.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/canvas_skia.h"
@@ -117,7 +118,7 @@
if (cert_id_ > 0) {
scoped_refptr<net::X509Certificate> cert;
- CertStore::GetInstance()->RetrieveCert(cert_id_, &cert);
+ content::CertStore::GetInstance()->RetrieveCert(cert_id_, &cert);
// When running with fake certificate (Chrome Frame), we have no os
// certificate, so there is no cert to show. Don't bother showing the cert
// info link in that case.
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_model.cc ('k') | chrome/browser/website_settings_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698