| Index: base/files/scoped_temp_dir.h
|
| diff --git a/base/files/scoped_temp_dir.h b/base/files/scoped_temp_dir.h
|
| index b1f2f5b87400f691799585294e37485876cd9584..97f5d2a246a2c0dbba62d68d973c8d69475b5575 100644
|
| --- a/base/files/scoped_temp_dir.h
|
| +++ b/base/files/scoped_temp_dir.h
|
| @@ -47,8 +47,14 @@ class BASE_EXPORT ScopedTempDir {
|
| // when this object goes out of scope.
|
| FilePath Take();
|
|
|
| + // DEPRECATED: Use GetPath instead. See https://crbug.com/640599 for more
|
| + // info.
|
| const FilePath& path() const { return path_; }
|
|
|
| + // Returns the path to the created directory. Call one of the
|
| + // CreateUniqueTempDir* methods before getting the path.
|
| + const FilePath& GetPath() const;
|
| +
|
| // Returns true if path_ is non-empty and exists.
|
| bool IsValid() const;
|
|
|
|
|