Index: base/file_util.cc |
diff --git a/base/file_util.cc b/base/file_util.cc |
index 147983662e2855d45b49620cbcd61fe68f5293c2..0d5316210f6eba16aaa2bbe3d4521f46ce07138b 100644 |
--- a/base/file_util.cc |
+++ b/base/file_util.cc |
@@ -185,6 +185,10 @@ FILE* CreateAndOpenTemporaryFile(FilePath* path) { |
return CreateAndOpenTemporaryFileInDir(directory, path); |
} |
+bool CreateDirectory(const base::FilePath& full_path) { |
+ return CreateDirectoryAndGetError(full_path, NULL); |
+} |
+ |
bool GetFileSize(const FilePath& file_path, int64* file_size) { |
base::PlatformFileInfo info; |
if (!GetFileInfo(file_path, &info)) |