Index: base/scoped_temp_dir.h |
=================================================================== |
--- base/scoped_temp_dir.h (revision 67430) |
+++ base/scoped_temp_dir.h (working copy) |
@@ -38,7 +38,10 @@ |
bool Set(const FilePath& path); |
// Deletes the temporary directory wrapped by this object. |
- void Delete(); |
+ // Returns true if the directory was successfully deleted. |
Paweł Hajdan Jr.
2010/11/27 14:57:07
Please see my earlier comments about this code.
tommi (sloooow) - chröme
2010/11/28 02:37:03
removed my addition to the comment.
|
+ // If the current path is empty or if the folder can't be deleted |
+ // for some reason, the return value is false. |
+ bool Delete(); |
// Caller takes ownership of the temporary directory so it won't be destroyed |
// when this object goes out of scope. |