Index: util/test/scoped_temp_dir.h |
diff --git a/util/test/scoped_temp_dir.h b/util/test/scoped_temp_dir.h |
index 0768d8d163071345db605504c6dfb6bf01af60ec..1851a0a5ecf16dbb2bfde2d08f673345c9d3890e 100644 |
--- a/util/test/scoped_temp_dir.h |
+++ b/util/test/scoped_temp_dir.h |
@@ -36,6 +36,9 @@ class ScopedTempDir { |
//! \return The temporary directory path. |
const base::FilePath& path() const { return path_; } |
+ //! \brief Move the temporary directory to a new temporary location. |
+ void Rename(); |
+ |
private: |
//! \brief Creates the temporary directory and asserts success of the |
//! operation. |
@@ -50,7 +53,7 @@ class ScopedTempDir { |
//! reference a directory. |
static void RecursivelyDeleteTemporaryDirectory(const base::FilePath& path); |
- const base::FilePath path_; |
+ base::FilePath path_; |
DISALLOW_COPY_AND_ASSIGN(ScopedTempDir); |
}; |