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

Unified Diff: chrome/browser/ssl/chrome_security_state_model_client.h

Issue 2400673003: Remove SSLStatus::security_style member and content::SecurityStyle (Closed)
Patch Set: more curly braces Created 4 years, 2 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/ssl/chrome_security_state_model_client.h
diff --git a/chrome/browser/ssl/chrome_security_state_model_client.h b/chrome/browser/ssl/chrome_security_state_model_client.h
index d5560d1409cc08faa3f6e7abe977c2380c79ba60..c5f8854fa5cb259bdbd8340acb1b8bdcd77a3bd5 100644
--- a/chrome/browser/ssl/chrome_security_state_model_client.h
+++ b/chrome/browser/ssl/chrome_security_state_model_client.h
@@ -11,7 +11,7 @@
#include "components/security_state/security_state_model.h"
#include "components/security_state/security_state_model_client.h"
#include "content/public/browser/web_contents_user_data.h"
-#include "content/public/common/security_style.h"
+#include "third_party/WebKit/public/platform/WebSecurityStyle.h"
namespace content {
struct SecurityStyleExplanations;
@@ -33,14 +33,13 @@ class ChromeSecurityStateModelClient
// with the given |security_info|. Populates
// |security_style_explanations| to explain why the returned
// SecurityStyle was chosen.
- static content::SecurityStyle GetSecurityStyle(
+ static blink::WebSecurityStyle GetSecurityStyle(
const security_state::SecurityStateModel::SecurityInfo& security_info,
content::SecurityStyleExplanations* security_style_explanations);
// SecurityStateModelClient:
void GetVisibleSecurityState(
security_state::SecurityStateModel::VisibleSecurityState* state) override;
- bool RetrieveCert(scoped_refptr<net::X509Certificate>* cert) override;
bool UsedPolicyInstalledCertificate() override;
bool IsOriginSecure(const GURL& url) override;

Powered by Google App Engine
This is Rietveld 408576698