diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2024-01-26 13:38:42 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2024-02-22 12:48:48 +0000 |
commit | ada9ddbf8c604585ac344b72f7bb63ac27c84726 (patch) | |
tree | b541471f60775e79ce2a664f01f2cff4765dc6b2 /chromium/base/files/file_util.h | |
parent | bccd0c89f058482e730b73829d80bb6e8defa4c9 (diff) |
BASELINE: Update Chromium to 120.0.6099.272
Change-Id: Id1e3f32155016fcdca5b92e1739d85c6093bcf84
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/534618
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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/base/files/file_util.h b/chromium/base/files/file_util.h index 0a9a27717e7..03185281012 100644 --- a/chromium/base/files/file_util.h +++ b/chromium/base/files/file_util.h @@ -420,6 +420,12 @@ BASE_EXPORT ScopedFILE CreateAndOpenTemporaryStreamInDir(const FilePath& dir, // Both paths are only accessible to admin and system processes, and are // therefore secure. BASE_EXPORT bool GetSecureSystemTemp(FilePath* temp); + +// Set whether or not the use of %systemroot%\SystemTemp or %programfiles% is +// permitted for testing. This is so tests that run as admin will still continue +// to use %TMP% so their files will be correctly cleaned up by the test +// launcher. +BASE_EXPORT void SetDisableSecureSystemTempForTesting(bool disabled); #endif // BUILDFLAG(IS_WIN) // Do NOT USE in new code. Use ScopedTempDir instead. |