| Index: chrome/browser/download/download_util.h
|
| diff --git a/chrome/browser/download/download_util.h b/chrome/browser/download/download_util.h
|
| index d692a461e59ce2540e8d6185b26004a57e395693..dee36003be20b127f7efef7d43e90f37b349a6bb 100644
|
| --- a/chrome/browser/download/download_util.h
|
| +++ b/chrome/browser/download/download_util.h
|
| @@ -166,6 +166,15 @@ void UpdateAppIconDownloadProgress(int download_count,
|
| bool progress_known,
|
| float progress);
|
|
|
| +// Appends the passed the number between parenthesis the path before the
|
| +// extension.
|
| +void AppendNumberToPath(FilePath* path, int number);
|
| +
|
| +// Attempts to find a number that can be appended to that path to make it
|
| +// unique. If |path| does not exist, 0 is returned. If it fails to find such
|
| +// a number, -1 is returned.
|
| +int GetUniquePathNumber(const FilePath& path);
|
| +
|
| } // namespace download_util
|
|
|
| #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_UTIL_H_
|
|
|