diff options
Diffstat (limited to 'chrome/browser/browser_process.cc')
-rw-r--r-- | chrome/browser/browser_process.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/browser_process.cc b/chrome/browser/browser_process.cc index 9ed6fb6..8f29cbc 100644 --- a/chrome/browser/browser_process.cc +++ b/chrome/browser/browser_process.cc @@ -6,3 +6,13 @@ BrowserProcess* g_browser_process = NULL; +#if defined(OS_WIN) + +#include "chrome/browser/renderer_host/resource_dispatcher_host.h" + +DownloadRequestManager* BrowserProcess::download_request_manager() { + ResourceDispatcherHost* rdh = resource_dispatcher_host(); + return rdh ? rdh->download_request_manager() : NULL; +} + +#endif |