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

Unified Diff: content/browser/loader/resource_loader.h

Issue 2239273002: Don't use SSLStatus from FrameHostMsg_DidCommitProvisionalLoad and instead cache it on the browser … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: slight cleanup Created 4 years, 4 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/resource_loader.h
diff --git a/content/browser/loader/resource_loader.h b/content/browser/loader/resource_loader.h
index 5046358b2ec7ff7eeb963889ef51d75baa5e4cac..ab3f1cdd923d2b63acf717f23e65b7ec389f9f75 100644
--- a/content/browser/loader/resource_loader.h
+++ b/content/browser/loader/resource_loader.h
@@ -26,6 +26,7 @@ class CertStore;
class ResourceDispatcherHostLoginDelegate;
class ResourceLoaderDelegate;
class ResourceRequestInfoImpl;
+struct SSLStatus;
// This class is responsible for driving the URLRequest (i.e., calling Start,
// Read, and servicing events). It has a ResourceHandler, which is typically a
@@ -62,6 +63,12 @@ class CONTENT_EXPORT ResourceLoader : public net::URLRequest::Delegate,
return transferring_response_.get();
}
+ static void GetSSLStatusForRequest(const GURL& url,
+ const net::SSLInfo& ssl_info,
+ int child_id,
+ CertStore* cert_store,
+ SSLStatus* ssl_status);
+
private:
// net::URLRequest::Delegate implementation:
void OnReceivedRedirect(net::URLRequest* request,

Powered by Google App Engine
This is Rietveld 408576698