summaryrefslogtreecommitdiffstats
path: root/base/scoped_temp_dir.h
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-29 17:49:32 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-29 17:49:32 +0000
commitf11c99ab635fb477bc8da138913b9aca3689f849 (patch)
treea70d26f5f75fe2a6255cc4f269517e9808fde5db /base/scoped_temp_dir.h
parentecc45ea743daa1f7686736c37b61da97f993af20 (diff)
downloadchromium_src-f11c99ab635fb477bc8da138913b9aca3689f849.zip
chromium_src-f11c99ab635fb477bc8da138913b9aca3689f849.tar.gz
chromium_src-f11c99ab635fb477bc8da138913b9aca3689f849.tar.bz2
Make ScopedTempDir::Delete return a bool so that its functionality can be tested.
TEST=Run the new unit test: ScopedTempDir.LockedTempDir BUG=none Review URL: http://codereview.chromium.org/5340004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67551 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/scoped_temp_dir.h')
-rw-r--r--base/scoped_temp_dir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/scoped_temp_dir.h b/base/scoped_temp_dir.h
index 6845562..f44bcca8 100644
--- a/base/scoped_temp_dir.h
+++ b/base/scoped_temp_dir.h
@@ -38,7 +38,7 @@ class ScopedTempDir {
bool Set(const FilePath& path);
// Deletes the temporary directory wrapped by this object.
- void Delete();
+ bool Delete();
// Caller takes ownership of the temporary directory so it won't be destroyed
// when this object goes out of scope.