summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/leveldatabase/env_chromium.cc2
-rw-r--r--third_party/zlib/google/zip_reader.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc
index 265a42e..00f8583 100644
--- a/third_party/leveldatabase/env_chromium.cc
+++ b/third_party/leveldatabase/env_chromium.cc
@@ -838,7 +838,7 @@ Status ChromiumEnv::CreateDir(const std::string& name) {
base::PlatformFileError error = base::PLATFORM_FILE_OK;
Retrier retrier(kCreateDir, this);
do {
- if (::file_util::CreateDirectoryAndGetError(CreateFilePath(name), &error))
+ if (base::CreateDirectoryAndGetError(CreateFilePath(name), &error))
return result;
} while (retrier.ShouldKeepTrying(error));
result = MakeIOError(name, "Could not create directory.", kCreateDir, error);
diff --git a/third_party/zlib/google/zip_reader.cc b/third_party/zlib/google/zip_reader.cc
index 862e29a..6ea8025 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);