diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-19 15:45:01 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-19 15:45:01 +0000 |
commit | c6cb0840c33484702f9f3e8ffaba52a227d20cba (patch) | |
tree | 8e44428f0cbcf20b8c1fc4a74c42ac91f2fa8511 | |
parent | b9e0c1b9e68ec47c1d3a2a69d9b5fc0fca3bf7af (diff) | |
download | chromium_src-c6cb0840c33484702f9f3e8ffaba52a227d20cba.zip chromium_src-c6cb0840c33484702f9f3e8ffaba52a227d20cba.tar.gz chromium_src-c6cb0840c33484702f9f3e8ffaba52a227d20cba.tar.bz2 |
download: Remove unused GetUniquePathNumberWithCrDownload() function.
BUG=104549
R=asanka@chromium.org
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/10797023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147449 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/download/download_util.cc | 5 | ||||
-rw-r--r-- | chrome/browser/download/download_util.h | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc index 76b613c..d28f4e1 100644 --- a/chrome/browser/download/download_util.cc +++ b/chrome/browser/download/download_util.cc @@ -611,11 +611,6 @@ void UpdateAppIconDownloadProgress(int download_count, } #endif -int GetUniquePathNumberWithCrDownload(const FilePath& path) { - return file_util::GetUniquePathNumber( - path, FILE_PATH_LITERAL(".crdownload")); -} - FilePath GetCrDownloadPath(const FilePath& suggested_path) { return FilePath(suggested_path.value() + FILE_PATH_LITERAL(".crdownload")); } diff --git a/chrome/browser/download/download_util.h b/chrome/browser/download/download_util.h index 19b96fd..f0c4edc 100644 --- a/chrome/browser/download/download_util.h +++ b/chrome/browser/download/download_util.h @@ -153,12 +153,6 @@ void UpdateAppIconDownloadProgress(int download_count, bool progress_known, float progress); -// Same as GetUniquePathNumber, except that it also checks the existence -// of its .crdownload intermediate path. -// If |path| does not exist, 0 is returned. If it fails to find such -// a number, -1 is returned. -int GetUniquePathNumberWithCrDownload(const FilePath& path); - // Returns a .crdownload intermediate path for the |suggested_path|. FilePath GetCrDownloadPath(const FilePath& suggested_path); |