diff options
author | ahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-23 21:10:29 +0000 |
---|---|---|
committer | ahendrickson@chromium.org <ahendrickson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-23 21:10:29 +0000 |
commit | c2e7601cee9e4187263d5d43f57eb6f92bd0c2cc (patch) | |
tree | 6ca6f99a56e7753dbcfb5b5f874e05963e74ab92 /chrome/browser/history | |
parent | 2b5cc367e46ed6e670c7574e03a885607d468dc2 (diff) | |
download | chromium_src-c2e7601cee9e4187263d5d43f57eb6f92bd0c2cc.zip chromium_src-c2e7601cee9e4187263d5d43f57eb6f92bd0c2cc.tar.gz chromium_src-c2e7601cee9e4187263d5d43f57eb6f92bd0c2cc.tar.bz2 |
Create the DownloadItem earlier in the download process.
Since DownloadItem is now created before we analyze the file to determine its characteristics and final name/location, I have added a function SetFileCheckResults() to update DownloadItem after this process has been done.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/5738007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history')
-rw-r--r-- | chrome/browser/history/download_create_info.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/history/download_create_info.cc b/chrome/browser/history/download_create_info.cc index 86cfbfd..d1ea28e 100644 --- a/chrome/browser/history/download_create_info.cc +++ b/chrome/browser/history/download_create_info.cc @@ -57,7 +57,7 @@ DownloadCreateInfo::~DownloadCreateInfo() { std::string DownloadCreateInfo::DebugString() const { return base::StringPrintf("{" " url_ = \"%s\"" - " path = \"%s\"" + " path = \"%" PRFilePath "\"" " received_bytes = %" PRId64 " total_bytes = %" PRId64 " child_id = %d" |