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

Unified Diff: chrome/browser/ui/website_settings/website_settings_ui.h

Issue 27026002: CT: Adding preliminary Certificate Transparency support to Chromium. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Distinguish between SCTs from unknown logs and unverified ones Created 7 years, 1 month 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/website_settings/website_settings_ui.h
diff --git a/chrome/browser/ui/website_settings/website_settings_ui.h b/chrome/browser/ui/website_settings/website_settings_ui.h
index df61c85e1747d769edf34eb847815420e1df9748..8a21112004cb38df7212e6ce5221bdc190bc46fa 100644
--- a/chrome/browser/ui/website_settings/website_settings_ui.h
+++ b/chrome/browser/ui/website_settings/website_settings_ui.h
@@ -74,6 +74,7 @@ class WebsiteSettingsUI {
// connection.
struct IdentityInfo {
IdentityInfo();
+ ~IdentityInfo();
// The site's identity.
std::string site_identity;
@@ -91,6 +92,11 @@ class WebsiteSettingsUI {
// Textual description of the site's connection status that is displayed to
// the user.
std::string connection_status_description;
+
+ WebsiteSettings::CertTransparencyStatus cert_transparency_status;
+ // Textual description of the site's Certificate Transparency status (if
+ // a secure connection).
+ std::string cert_transparency_description;
};
typedef std::vector<CookieInfo> CookieInfoList;
@@ -140,6 +146,11 @@ class WebsiteSettingsUI {
// Returns the icon ID to show along with the first visit information.
static int GetFirstVisitIconID(const string16& first_visit);
+ // Returns the icon to show along with the Certificate Transparency
+ // information.
+ static const gfx::Image& GetCertTransparencyIcon(
+ WebsiteSettings::CertTransparencyStatus status);
+
// Returns the icon to show along with the first visit information.
static const gfx::Image& GetFirstVisitIcon(const string16& first_visit);
« no previous file with comments | « chrome/browser/ui/website_settings/website_settings.cc ('k') | chrome/browser/ui/website_settings/website_settings_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698