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

Unified Diff: webrtc/rtc_base/fileutils.h

Issue 2891923002: Delete Filesystem::CreateFolder. (Closed)
Patch Set: Rebased. Created 3 years, 3 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 | webrtc/rtc_base/logging_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/rtc_base/fileutils.h
diff --git a/webrtc/rtc_base/fileutils.h b/webrtc/rtc_base/fileutils.h
index ba4b28995e3117ae645de174c762fa4af0b90bd6..8c6f1e8734737830e34d6c58f4be60aad9ca59cb 100644
--- a/webrtc/rtc_base/fileutils.h
+++ b/webrtc/rtc_base/fileutils.h
@@ -83,10 +83,6 @@ class FilesystemInterface {
// non-existent file.
virtual bool DeleteFile(const Pathname &filename) = 0;
- // Creates a directory. This will call itself recursively to create /foo/bar
- // even if /foo does not exist. Returns true if the function succeeds.
- virtual bool CreateFolder(const Pathname &pathname) = 0;
-
// This moves a file from old_path to new_path, where "old_path" is a
// plain file. This DCHECKs and returns false if old_path points to a
// directory, and returns true if the function succeeds.
@@ -123,10 +119,6 @@ class Filesystem {
return cur;
}
- static bool CreateFolder(const Pathname &pathname) {
- return EnsureDefaultFilesystem()->CreateFolder(pathname);
- }
-
static bool DeleteFile(const Pathname &filename) {
return EnsureDefaultFilesystem()->DeleteFile(filename);
}
« no previous file with comments | « no previous file | webrtc/rtc_base/logging_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698