From fe5d521a694cecd66e8c58dc0c0e0103e7822039 Mon Sep 17 00:00:00 2001 From: nisse Date: Mon, 20 Feb 2017 01:06:47 -0800 Subject: [PATCH] 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} --- webrtc/base/fileutils.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/webrtc/base/fileutils.h b/webrtc/base/fileutils.h index d70ec89acf..8b090990e1 100644 --- a/webrtc/base/fileutils.h +++ b/webrtc/base/fileutils.h @@ -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_