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

Unified Diff: content/browser/loader/navigation_resource_handler.cc

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: content/browser/loader/navigation_resource_handler.cc
diff --git a/content/browser/loader/navigation_resource_handler.cc b/content/browser/loader/navigation_resource_handler.cc
index 76a5d8898db62cc9eab803e85d01ef0342b9a153..8093479edddd406e5972633e5130a375831fc40e 100644
--- a/content/browser/loader/navigation_resource_handler.cc
+++ b/content/browser/loader/navigation_resource_handler.cc
@@ -14,7 +14,6 @@
#include "content/browser/resource_context_impl.h"
#include "content/browser/streams/stream.h"
#include "content/browser/streams/stream_context.h"
-#include "content/common/security_style_util.h"
#include "content/public/browser/navigation_data.h"
#include "content/public/browser/resource_controller.h"
#include "content/public/browser/resource_dispatcher_host_delegate.h"
@@ -32,9 +31,7 @@ void NavigationResourceHandler::GetSSLStatusForRequest(
int child_id,
SSLStatus* ssl_status) {
DCHECK(ssl_info.cert);
- *ssl_status = SSLStatus(GetSecurityStyleForResource(
- url, !!ssl_info.cert, ssl_info.cert_status),
- ssl_info.cert, ssl_info);
+ *ssl_status = SSLStatus(ssl_info.cert, ssl_info);
}
NavigationResourceHandler::NavigationResourceHandler(

Powered by Google App Engine
This is Rietveld 408576698