Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: webrtc/base/fileutils.h

Issue 2703793002: Delete unused class FilesystemScope. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/fileutils.h
diff --git a/webrtc/base/fileutils.h b/webrtc/base/fileutils.h
index 14d7091e475c5c83e6039060a74d6f96444a0161..9feb0e0a1f61435f5afe0a6ec314dd0120a819cd 100644
--- a/webrtc/base/fileutils.h
+++ b/webrtc/base/fileutils.h
@@ -311,19 +311,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_
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698