Home | History | Annotate | Download | only in browser
      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.
      4 
      5 #include "chrome/browser/browser_process.h"
      6 
      7 #include "content/browser/renderer_host/resource_dispatcher_host.h"
      8 
      9 BrowserProcess* g_browser_process = NULL;
     10 
     11 BrowserProcess::BrowserProcess() {}
     12 
     13 BrowserProcess::~BrowserProcess() {}
     14 
     15 DownloadRequestLimiter* BrowserProcess::download_request_limiter() {
     16   ResourceDispatcherHost* rdh = resource_dispatcher_host();
     17   return rdh ? rdh->download_request_limiter() : NULL;
     18 }
     19