summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/base_file.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 17:58:16 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-07 17:58:16 +0000
commit7edb7f8a52caa5d43d24c8e05ad15f6b8e14a49c (patch)
tree17ebd04b5ad818a7ba82ff408bc03c9f56c88358 /chrome/browser/download/base_file.h
parent41c53b6a7c519f738cc2653553978c89f558fe4c (diff)
downloadchromium_src-7edb7f8a52caa5d43d24c8e05ad15f6b8e14a49c.zip
chromium_src-7edb7f8a52caa5d43d24c8e05ad15f6b8e14a49c.tar.gz
chromium_src-7edb7f8a52caa5d43d24c8e05ad15f6b8e14a49c.tar.bz2
Revert 58196 - GTTF: Clean up DownloadFileManager
This removes a lot of duplication, locking, and thread jumping. Most of the operations run on the FILE thread, and we do not duplicate so much information. Each DownloadFile keeps track of its DownloadManager (each Profile has its own DownloadManager). This allows us to remove many maps from DownloadFileManager that were duplicating that information. There is still SaveFileManager, but hopefully I will be able to merge those two in small steps. TEST=unit_tests, browser_tests, ui_tests BUG=48913 Review URL: http://codereview.chromium.org/3245005 TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/3348010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58718 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download/base_file.h')
-rw-r--r--chrome/browser/download/base_file.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/download/base_file.h b/chrome/browser/download/base_file.h
index 6c57165..fa3873f 100644
--- a/chrome/browser/download/base_file.h
+++ b/chrome/browser/download/base_file.h
@@ -22,7 +22,6 @@ class BaseFile {
BaseFile(const FilePath& full_path,
const GURL& source_url,
const GURL& referrer_url,
- int64 received_bytes,
const linked_ptr<net::FileStream>& file_stream);
~BaseFile();