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

Unified Diff: content/browser/ssl/ssl_policy.h

Issue 1332633002: Add constructor to create SSLStatus from SSLInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp: debug logging for mac/win test failure Created 5 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: content/browser/ssl/ssl_policy.h
diff --git a/content/browser/ssl/ssl_policy.h b/content/browser/ssl/ssl_policy.h
index 8998d1ff2f0309f59693fde8196ec599525065f4..2855a1bbb8c6c912317331219cdc9333fbaee1aa 100644
--- a/content/browser/ssl/ssl_policy.h
+++ b/content/browser/ssl/ssl_policy.h
@@ -10,6 +10,7 @@
#include "base/memory/ref_counted.h"
#include "content/public/common/resource_type.h"
#include "content/public/common/security_style.h"
+#include "net/cert/cert_status_flags.h"
class GURL;
@@ -50,7 +51,8 @@ class SSLPolicy {
// not take into account any of the page- or host-level state such as
// mixed content or whether the host has run insecure content.
static SecurityStyle GetSecurityStyleForResource(const GURL& url,
- const SSLStatus& ssl);
+ int cert_id,
+ net::CertStatus cert_status);
private:
enum OnCertErrorInternalOptionsMask {

Powered by Google App Engine
This is Rietveld 408576698