Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: util/test/scoped_temp_dir.h

Issue 867363003: win: Implementation of CrashReportDatabase for Windows (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: . Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « util/misc/uuid.cc ('k') | util/test/scoped_temp_dir_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « util/misc/uuid.cc ('k') | util/test/scoped_temp_dir_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698