| Index: base/files/scoped_temp_dir.cc
|
| diff --git a/base/files/scoped_temp_dir.cc b/base/files/scoped_temp_dir.cc
|
| index 27b758ed9038ea7181f561f80db3e3140bfd66a7..26815217c6b46f07ab9540c349df33d2a726c898 100644
|
| --- a/base/files/scoped_temp_dir.cc
|
| +++ b/base/files/scoped_temp_dir.cc
|
| @@ -76,6 +76,11 @@ FilePath ScopedTempDir::Take() {
|
| return ret;
|
| }
|
|
|
| +const FilePath& ScopedTempDir::GetPath() const {
|
| + DCHECK(!path_.empty()) << "Did you call CreateUniqueTempDir* before?";
|
| + return path_;
|
| +}
|
| +
|
| bool ScopedTempDir::IsValid() const {
|
| return !path_.empty() && DirectoryExists(path_);
|
| }
|
|
|