summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process.cc
blob: 8f29cbc08318fe8bbfc6db3f2664cc56d561a95d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/browser_process.h"

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