diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-03-12 09:13:00 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-03-16 09:58:26 +0000 |
commit | 03561cae90f1d99b5c54b1ef3be69f10e882b25e (patch) | |
tree | cc5f0958e823c044e7ae51cc0117fe51432abe5e /chromium/base/files/file_util.h | |
parent | fa98118a45f7e169f8846086dc2c22c49a8ba310 (diff) |
BASELINE: Update Chromium to 88.0.4324.208
Change-Id: I3ae87d23e4eff4b4a469685658740a213600c667
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/base/files/file_util.h')
-rw-r--r-- | chromium/base/files/file_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/base/files/file_util.h b/chromium/base/files/file_util.h index df0f0bda000..040e0911f55 100644 --- a/chromium/base/files/file_util.h +++ b/chromium/base/files/file_util.h @@ -324,6 +324,11 @@ BASE_EXPORT bool CreateTemporaryFile(FilePath* path); BASE_EXPORT bool CreateTemporaryFileInDir(const FilePath& dir, FilePath* temp_file); +// Returns the file name for a temporary file by using a platform-specific +// naming scheme that incorporates |identifier|. +BASE_EXPORT FilePath +FormatTemporaryFileName(FilePath::StringPieceType identifier); + // Create and open a temporary file stream for exclusive read, write, and delete // access (note: exclusivity is unique to Windows). The full path is placed in // |path|. Returns the opened file stream, or null in case of error. |