Delete unused class FilesystemScope.

It became unused in cl https://codereview.webrtc.org/2541453002

BUG=webrtc:6424

Review-Url: https://codereview.webrtc.org/2703793002
Cr-Commit-Position: refs/heads/master@{#16711}
This commit is contained in:
nisse
2017-02-20 01:06:47 -08:00
committed by Commit bot
parent 915bbd53e4
commit fe5d521a69

View File

@ -296,19 +296,6 @@ class Filesystem {
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(Filesystem);
};
class FilesystemScope{
public:
explicit FilesystemScope(FilesystemInterface *new_fs) {
old_fs_ = Filesystem::swap_default_filesystem(new_fs);
}
~FilesystemScope() {
Filesystem::set_default_filesystem(old_fs_);
}
private:
FilesystemInterface* old_fs_;
RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(FilesystemScope);
};
} // namespace rtc
#endif // WEBRTC_BASE_FILEUTILS_H_