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

Unified Diff: webrtc/rtc_base/unixfilesystem.h

Issue 3006823002: In CreateFolder, delete code to recursively create parent directories. (Closed)
Patch Set: Created 3 years, 4 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 | « webrtc/rtc_base/fileutils.h ('k') | webrtc/rtc_base/unixfilesystem.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/rtc_base/unixfilesystem.h
diff --git a/webrtc/rtc_base/unixfilesystem.h b/webrtc/rtc_base/unixfilesystem.h
index 7270b83778be7df3df2d5552f82c71cdbbdb86b1..ee16ca12761eca7b9d7e2eb05bcf88c983865fba 100644
--- a/webrtc/rtc_base/unixfilesystem.h
+++ b/webrtc/rtc_base/unixfilesystem.h
@@ -26,10 +26,8 @@ class UnixFilesystem : public FilesystemInterface {
// It will fail with VERIY if you pass it a non-existant file, or a directory.
bool DeleteFile(const Pathname& filename) override;
- // Creates a directory. This will call itself recursively to create /foo/bar
- // even if /foo does not exist. All created directories are created with the
- // given mode.
- // Returns TRUE if function succeeds
+ // Creates a directory with the given mode. Parent directory must
+ // already exist. Returns TRUE if function succeeds.
virtual bool CreateFolder(const Pathname &pathname, mode_t mode);
// As above, with mode = 0755.
« no previous file with comments | « webrtc/rtc_base/fileutils.h ('k') | webrtc/rtc_base/unixfilesystem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698