diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-10 13:25:05 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-10 13:25:05 +0000 |
commit | 40bda46f25e5248934d2d67601b780d16b191ca4 (patch) | |
tree | 42602cf6eb2164b6e8f944c794964830c664cd13 /content | |
parent | f80e7f81b9a8bfcf8ef16098afab45ecf242701e (diff) | |
download | chromium_src-40bda46f25e5248934d2d67601b780d16b191ca4.zip chromium_src-40bda46f25e5248934d2d67601b780d16b191ca4.tar.gz chromium_src-40bda46f25e5248934d2d67601b780d16b191ca4.tar.bz2 |
Clarify comments about GetTemporaryDownloads and GetAllDownloads.
Review URL: http://codereview.chromium.org/9110043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117029 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/public/browser/download_manager.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/content/public/browser/download_manager.h b/content/public/browser/download_manager.h index 1dc6e35..41de9b2 100644 --- a/content/public/browser/download_manager.h +++ b/content/public/browser/download_manager.h @@ -87,12 +87,15 @@ class CONTENT_EXPORT DownloadManager typedef std::vector<DownloadItem*> DownloadVector; - // Return all temporary downloads that reside in the specified directory. + // If |dir_path| is empty, appends all temporary downloads to |*result|. + // Otherwise, appends all temporary downloads that reside in |dir_path| to + // |*result|. virtual void GetTemporaryDownloads(const FilePath& dir_path, DownloadVector* result) = 0; - // Return all non-temporary downloads in the specified directory that are - // are in progress or have completed. + // If |dir_path| is empty, appends all non-temporary downloads to |*result|. + // Otherwise, appends all non-temporary downloads that reside in |dir_path| + // to |*result|. virtual void GetAllDownloads(const FilePath& dir_path, DownloadVector* result) = 0; |