Move directory creation functions to base namespace.
BUG=
Review URL: https://codereview.chromium.org/100573002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238446 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/file_util.cc b/base/file_util.cc
index f6d8657..1639ccee 100644
--- a/base/file_util.cc
+++ b/base/file_util.cc
@@ -161,6 +161,10 @@
return CreateAndOpenTemporaryFileInDir(directory, path);
}
+bool CreateDirectory(const FilePath& full_path) {
+ return CreateDirectoryAndGetError(full_path, NULL);
+}
+
} // namespace base
// -----------------------------------------------------------------------------
@@ -171,10 +175,6 @@
using base::FilePath;
using base::kMaxUniqueFiles;
-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))