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