[email protected] | 14ce83f | 2009-05-28 18:35:24 | [diff] [blame] | 1 | // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
license.bot | bf09a50 | 2008-08-24 00:55:55 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
initial.commit | 09911bf | 2008-07-26 23:55:29 | [diff] [blame] | 4 | |
5 | #include "chrome/browser/browser_process.h" | ||||
6 | |||||
[email protected] | dcccb94 | 2009-02-01 18:23:00 | [diff] [blame] | 7 | #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
8 | |||||
[email protected] | b3c6b7f | 2009-06-19 19:33:15 | [diff] [blame] | 9 | BrowserProcess* g_browser_process = NULL; |
10 | |||||
[email protected] | 4129132 | 2010-07-15 17:09:01 | [diff] [blame] | 11 | DownloadRequestLimiter* BrowserProcess::download_request_limiter() { |
[email protected] | dcccb94 | 2009-02-01 18:23:00 | [diff] [blame] | 12 | ResourceDispatcherHost* rdh = resource_dispatcher_host(); |
[email protected] | 4129132 | 2010-07-15 17:09:01 | [diff] [blame] | 13 | return rdh ? rdh->download_request_limiter() : NULL; |
[email protected] | dcccb94 | 2009-02-01 18:23:00 | [diff] [blame] | 14 | } |