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

Unified Diff: content/browser/ssl/ssl_error_handler.cc

Issue 9580002: Add ResourceRequestInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | « content/browser/ssl/ssl_client_auth_handler.cc ('k') | content/browser/ssl/ssl_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/ssl/ssl_error_handler.cc
===================================================================
--- content/browser/ssl/ssl_error_handler.cc (revision 125418)
+++ content/browser/ssl/ssl_error_handler.cc (working copy)
@@ -7,7 +7,7 @@
#include "base/bind.h"
#include "content/browser/renderer_host/render_view_host_impl.h"
#include "content/browser/renderer_host/resource_dispatcher_host.h"
-#include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
+#include "content/browser/renderer_host/resource_request_info_impl.h"
#include "content/browser/ssl/ssl_cert_error_handler.h"
#include "content/browser/tab_contents/navigation_controller_impl.h"
#include "content/browser/tab_contents/tab_contents.h"
@@ -17,6 +17,7 @@
using content::BrowserThread;
using content::RenderViewHostImpl;
+using content::ResourceRequestInfoImpl;
using content::WebContents;
SSLErrorHandler::SSLErrorHandler(ResourceDispatcherHost* rdh,
@@ -30,14 +31,12 @@
request_has_been_notified_(false) {
DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::UI));
- ResourceDispatcherHostRequestInfo* info =
+ ResourceRequestInfoImpl* info =
ResourceDispatcherHost::InfoForRequest(request);
- request_id_.child_id = info->child_id();
- request_id_.request_id = info->request_id();
+ request_id_.child_id = info->GetChildID();
+ request_id_.request_id = info->GetRequestID();
- if (!ResourceDispatcherHost::RenderViewForRequest(request,
- &render_process_id_,
- &render_view_id_))
+ if (!info->GetAssociatedRenderView(&render_process_id_, &render_view_id_))
NOTREACHED();
// This makes sure we don't disappear on the IO thread until we've given an
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.cc ('k') | content/browser/ssl/ssl_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698