| Index: webrtc/test/testsupport/fileutils.h
|
| diff --git a/webrtc/test/testsupport/fileutils.h b/webrtc/test/testsupport/fileutils.h
|
| index 2135681380c0fed1cd4510c640e20a9b9cf03f63..cf33650b6384c4ba9113d6f9acc471b2ccfd96c1 100644
|
| --- a/webrtc/test/testsupport/fileutils.h
|
| +++ b/webrtc/test/testsupport/fileutils.h
|
| @@ -15,6 +15,14 @@
|
|
|
| #include <string>
|
|
|
| +#if !defined(WEBRTC_WIN)
|
| +#include <dirent.h>
|
| +#include <sys/stat.h>
|
| +#endif
|
| +
|
| +#include "webrtc/base/fileutils.h"
|
| +#include "webrtc/base/pathutils.h"
|
| +
|
| namespace webrtc {
|
| namespace test {
|
|
|
| @@ -71,6 +79,9 @@ std::string WorkingDir();
|
| // false if a file with the same name already exists.
|
| bool CreateDir(const std::string& directory_name);
|
|
|
| +// Removes a directory recursively and returns the number of deleted entries.
|
| +size_t RemoveDirRecursively(const rtc::Pathname& dir);
|
| +
|
| // Removes a directory, which must already be empty.
|
| bool RemoveDir(const std::string& directory_name);
|
|
|
|
|