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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/scoped_temp_dir.h b/base/scoped_temp_dir.h
index 66d52f6..6845562 100644
--- a/base/scoped_temp_dir.h
+++ b/base/scoped_temp_dir.h
@@ -11,6 +11,10 @@
// deletion occurs during the destructor, no further error handling is possible
// if the directory fails to be deleted. As a result, deletion is not
// guaranteed by this class.
+//
+// Multiple calls to the methods which establish a temporary directory
+// (CreateUniqueTempDir, CreateUniqueTempDirUnderPath, and Set) must have
+// intervening calls to Delete or Take, or the calls will fail.
#include "base/file_path.h"