summaryrefslogtreecommitdiffstats
path: root/base/scoped_temp_dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/scoped_temp_dir.h')
-rw-r--r--base/scoped_temp_dir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/scoped_temp_dir.h b/base/scoped_temp_dir.h
index e9d45b9..a5dca1e 100644
--- a/base/scoped_temp_dir.h
+++ b/base/scoped_temp_dir.h
@@ -25,6 +25,9 @@ class ScopedTempDir {
// See file_util::CreateNewTemporaryDirectory.
bool CreateUniqueTempDir();
+ // Creates a unique directory under a given path, and takes ownership of it.
+ bool CreateUniqueTempDirUnderPath(const FilePath& path);
+
// Takes ownership of directory at |path|, creating it if necessary.
// Don't call multiple times unless Take() has been called first.
bool Set(const FilePath& path);