Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: chrome/browser/browser_process.cc

Issue 7374008: Move download stuff from download helper back to TabContents. This is basically a revert of r8576... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "content/browser/renderer_host/resource_dispatcher_host.h"
8
9 BrowserProcess* g_browser_process = NULL; 7 BrowserProcess* g_browser_process = NULL;
10 8
11 BrowserProcess::BrowserProcess() {} 9 BrowserProcess::BrowserProcess() {}
12 10
13 BrowserProcess::~BrowserProcess() {} 11 BrowserProcess::~BrowserProcess() {}
14
15 DownloadRequestLimiter* BrowserProcess::download_request_limiter() {
16 ResourceDispatcherHost* rdh = resource_dispatcher_host();
17 return rdh ? rdh->download_request_limiter() : NULL;
18 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698