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

Unified Diff: third_party/zlib/google/zip_reader.cc

Issue 100573002: Move directory creation functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « third_party/leveldatabase/env_chromium.cc ('k') | tools/gn/function_exec_script.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/zlib/google/zip_reader.cc
diff --git a/third_party/zlib/google/zip_reader.cc b/third_party/zlib/google/zip_reader.cc
index 862e29a0f3103f02afb32b28743f824595a61cfa..6ea8025094151de4bb83a7947057b0b6dc616387 100644
--- a/third_party/zlib/google/zip_reader.cc
+++ b/third_party/zlib/google/zip_reader.cc
@@ -192,7 +192,7 @@ bool ZipReader::ExtractCurrentEntryToFilePath(
// If this is a directory, just create it and return.
if (current_entry_info()->is_directory())
- return file_util::CreateDirectory(output_file_path);
+ return base::CreateDirectory(output_file_path);
const int open_result = unzOpenCurrentFile(zip_file_);
if (open_result != UNZ_OK)
@@ -201,7 +201,7 @@ bool ZipReader::ExtractCurrentEntryToFilePath(
// We can't rely on parent directory entries being specified in the
// zip, so we make sure they are created.
base::FilePath output_dir_path = output_file_path.DirName();
- if (!file_util::CreateDirectory(output_dir_path))
+ if (!base::CreateDirectory(output_dir_path))
return false;
net::FileStream stream(NULL);
« no previous file with comments | « third_party/leveldatabase/env_chromium.cc ('k') | tools/gn/function_exec_script.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698