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

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

Issue 1259253009: Revert of Attach a SecurityStyle to each request in ResourceLoader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..78dbb6d8960f59237658d3d5c032374d851b6342 100644
--- a/content/browser/ssl/ssl_policy.h
+++ b/content/browser/ssl/ssl_policy.h
@@ -9,17 +9,13 @@
#include "base/memory/ref_counted.h"
#include "content/public/common/resource_type.h"
-#include "content/public/common/security_style.h"
-
-class GURL;
namespace content {
class NavigationEntryImpl;
class SSLCertErrorHandler;
class SSLPolicyBackend;
class SSLRequestInfo;
-class WebContents;
-struct SSLStatus;
+class WebContentsImpl;
// SSLPolicy
//
@@ -41,16 +37,11 @@
void OnRequestStarted(SSLRequestInfo* info);
// Update the SSL information in |entry| to match the current state.
- // |web_contents| is the WebContents associated with this entry.
- void UpdateEntry(NavigationEntryImpl* entry, WebContents* web_contents);
+ // |web_contents| is the WebContentsImpl associated with this entry.
+ void UpdateEntry(NavigationEntryImpl* entry,
+ WebContentsImpl* web_contents);
SSLPolicyBackend* backend() const { return backend_; }
-
- // Returns a security style describing an individual resource. Does
- // 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);
private:
enum OnCertErrorInternalOptionsMask {
« no previous file with comments | « content/browser/ssl/ssl_manager.cc ('k') | content/browser/ssl/ssl_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698