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

Unified Diff: webrtc/rtc_base/win32filesystem.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/unixfilesystem.cc ('k') | webrtc/rtc_base/win32filesystem.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/rtc_base/win32filesystem.h
diff --git a/webrtc/rtc_base/win32filesystem.h b/webrtc/rtc_base/win32filesystem.h
index 9d420331e52dbbdd428668e3c269e503fd9e799d..de34a2be202cabc602d1470c3ed7af958334be1f 100644
--- a/webrtc/rtc_base/win32filesystem.h
+++ b/webrtc/rtc_base/win32filesystem.h
@@ -21,9 +21,8 @@ class Win32Filesystem : public FilesystemInterface {
// If the path points to a folder, it will fail with VERIFY
bool DeleteFile(const Pathname& filename) override;
- // Creates a directory. This will call itself recursively to create /foo/bar even if
- // /foo does not exist.
- // Returns TRUE if function succeeds
+ // Creates a directory. Parent directory must already exist.
+ // Returns TRUE if function succeeds.
bool CreateFolder(const Pathname& pathname) override;
// This moves a file from old_path to new_path. If the new path is on a
« no previous file with comments | « webrtc/rtc_base/unixfilesystem.cc ('k') | webrtc/rtc_base/win32filesystem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698