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

Unified Diff: chrome/browser/ui/views/website_settings/website_settings_popup_view.h

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
Index: chrome/browser/ui/views/website_settings/website_settings_popup_view.h
diff --git a/chrome/browser/ui/views/website_settings/website_settings_popup_view.h b/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
index c0f1c85dbac75a286020f66d9f290a325036693f..6d86ca89f383873999fd77c0d1687c0676c234d4 100644
--- a/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
+++ b/chrome/browser/ui/views/website_settings/website_settings_popup_view.h
@@ -30,6 +30,10 @@ namespace content {
class WebContents;
}
+namespace net {
+class X509Certificate;
+}
+
namespace test {
class WebsiteSettingsPopupViewTestApi;
}
@@ -162,9 +166,8 @@ class WebsiteSettingsPopupView : public content::WebContentsObserver,
// of the site settings view.
views::View* permissions_content_;
- // The ID of the certificate provided by the site. If the site does not
- // provide a certificate then |cert_id_| is 0.
- int cert_id_;
+ // The certificate provided by the site, if one exists.
+ scoped_refptr<net::X509Certificate> certificate_;
// The link to open the site settings page that provides full control over
// the origin's permissions.

Powered by Google App Engine
This is Rietveld 408576698