| Index: chrome/browser/ssl/ssl_add_cert_handler.cc
|
| ===================================================================
|
| --- chrome/browser/ssl/ssl_add_cert_handler.cc (revision 124423)
|
| +++ chrome/browser/ssl/ssl_add_cert_handler.cc (working copy)
|
| @@ -8,9 +8,8 @@
|
| #include "chrome/browser/tab_contents/tab_contents_ssl_helper.h"
|
| #include "chrome/browser/tab_contents/tab_util.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| -#include "content/browser/renderer_host/resource_dispatcher_host.h"
|
| -#include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
|
| #include "content/public/browser/browser_thread.h"
|
| +#include "content/public/browser/resource_request_info.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "net/base/cert_database.h"
|
| #include "net/base/net_errors.h"
|
| @@ -27,9 +26,8 @@
|
| : cert_(cert),
|
| render_process_host_id_(render_process_host_id),
|
| render_view_id_(render_view_id) {
|
| - ResourceDispatcherHostRequestInfo* info =
|
| - ResourceDispatcherHost::InfoForRequest(request);
|
| - network_request_id_ = info->request_id();
|
| + network_request_id_
|
| + = content::ResourceRequestInfo::ForRequest(request)->request_id();
|
| // Stay alive until the process completes and Finished() is called.
|
| AddRef();
|
| // Delay adding the certificate until the next mainloop iteration.
|
|
|