1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/browser_process.h"
7 #include "content/browser/renderer_host/resource_dispatcher_host.h"
9 BrowserProcess
* g_browser_process
= NULL
;
11 BrowserProcess::BrowserProcess() {}
13 BrowserProcess::~BrowserProcess() {}
15 DownloadRequestLimiter
* BrowserProcess::download_request_limiter() {
16 ResourceDispatcherHost
* rdh
= resource_dispatcher_host();
17 return rdh
? rdh
->download_request_limiter() : NULL
;