diff options
Diffstat (limited to 'chrome/browser/renderer_host/resource_dispatcher_host.h')
-rw-r--r-- | chrome/browser/renderer_host/resource_dispatcher_host.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.h b/chrome/browser/renderer_host/resource_dispatcher_host.h index 685acdd..eaf6323 100644 --- a/chrome/browser/renderer_host/resource_dispatcher_host.h +++ b/chrome/browser/renderer_host/resource_dispatcher_host.h @@ -37,6 +37,7 @@ class PluginService; class SafeBrowsingService; class SaveFileManager; class URLRequestContext; +class WebKitThread; struct ViewHostMsg_Resource_Request; class ResourceDispatcherHost : public URLRequest::Delegate { @@ -285,6 +286,10 @@ class ResourceDispatcherHost : public URLRequest::Delegate { return safe_browsing_; } + WebKitThread* webkit_thread() const { + return webkit_thread_; + } + MessageLoop* ui_loop() const { return ui_loop_; } // Called when the onunload handler for a cross-site request has finished. @@ -523,6 +528,8 @@ class ResourceDispatcherHost : public URLRequest::Delegate { scoped_refptr<SafeBrowsingService> safe_browsing_; + scoped_refptr<WebKitThread> webkit_thread_; + // Request ID for browser initiated requests. request_ids generated by // child processes are counted up from 0, while browser created requests // start at -2 and go down from there. (We need to start at -2 because -1 is |