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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host_impl.h

Issue 9406001: Factor out ResourceDispatcherHost dependent code around SSLManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase for retry Created 8 years, 9 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 | « no previous file | content/browser/renderer_host/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/resource_dispatcher_host_impl.h
diff --git a/content/browser/renderer_host/resource_dispatcher_host_impl.h b/content/browser/renderer_host/resource_dispatcher_host_impl.h
index 9f09b5eba3ab3b7aece13bf12d0b8c027d6d559f..7f238e3aeecea44f06656b49eaf0a7a52e0f9689 100644
--- a/content/browser/renderer_host/resource_dispatcher_host_impl.h
+++ b/content/browser/renderer_host/resource_dispatcher_host_impl.h
@@ -24,6 +24,7 @@
#include "base/time.h"
#include "base/timer.h"
#include "content/browser/download/download_resource_handler.h"
+#include "content/browser/ssl/ssl_error_handler.h"
#include "content/common/content_export.h"
#include "content/public/browser/child_process_data.h"
#include "content/public/browser/notification_types.h"
@@ -58,7 +59,8 @@ struct GlobalRequestID;
class CONTENT_EXPORT ResourceDispatcherHostImpl
: public ResourceDispatcherHost,
- public net::URLRequest::Delegate {
+ public net::URLRequest::Delegate,
+ public SSLErrorHandler::Delegate {
public:
ResourceDispatcherHostImpl();
virtual ~ResourceDispatcherHostImpl();
@@ -171,7 +173,7 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
// acts like CancelRequestsForProcess when route_id is -1.
void CancelRequestsForRoute(int child_id, int route_id);
- // net::URLRequest::Delegate
+ // net::URLRequest::Delegate:
virtual void OnReceivedRedirect(net::URLRequest* request,
const GURL& new_url,
bool* defer_redirect) OVERRIDE;
@@ -187,6 +189,12 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
virtual void OnReadCompleted(net::URLRequest* request,
int bytes_read) OVERRIDE;
+ // SSLErrorHandler::Delegate:
+ virtual void CancelSSLRequest(const content::GlobalRequestID& id,
+ int error,
+ const net::SSLInfo* ssl_info) OVERRIDE;
+ virtual void ContinueSSLRequest(const content::GlobalRequestID& id) OVERRIDE;
+
void OnUserGesture(TabContents* tab);
// Retrieves a net::URLRequest. Must be called from the IO thread.
« no previous file with comments | « no previous file | content/browser/renderer_host/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698