diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-05-16 09:59:13 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-05-20 10:28:53 +0000 |
commit | 6c11fb357ec39bf087b8b632e2b1e375aef1b38b (patch) | |
tree | c8315530db18a8ee566521c39ab8a6af4f72bc03 /chromium/base/files/file_util.h | |
parent | 3ffaed019d0772e59d6cdb2d0d32fe4834c31f72 (diff) |
BASELINE: Update Chromium to 74.0.3729.159
Change-Id: I8d2497da544c275415aedd94dd25328d555de811
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/base/files/file_util.h')
-rw-r--r-- | chromium/base/files/file_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/base/files/file_util.h b/chromium/base/files/file_util.h index 456962a42fd..d87fae18b2a 100644 --- a/chromium/base/files/file_util.h +++ b/chromium/base/files/file_util.h @@ -396,6 +396,10 @@ BASE_EXPORT bool SetCurrentDirectory(const FilePath& path); BASE_EXPORT int GetUniquePathNumber(const FilePath& path, const FilePath::StringType& suffix); +// If file at |path| already exists, modifies filename portion of |path| to +// return unique path. +BASE_EXPORT FilePath GetUniquePath(const FilePath& path); + // Sets the given |fd| to non-blocking mode. // Returns true if it was able to set it in the non-blocking mode, otherwise // false. |