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

Unified Diff: base/files/scoped_temp_dir.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 | « base/files/file_util_proxy_unittest.cc ('k') | base/mac/mac_util_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/scoped_temp_dir.cc
diff --git a/base/files/scoped_temp_dir.cc b/base/files/scoped_temp_dir.cc
index 5624a061941361f1dadcce2bf7d9de877269accd..b893b02ca8ad933a39db58bac8aa16e4607668f1 100644
--- a/base/files/scoped_temp_dir.cc
+++ b/base/files/scoped_temp_dir.cc
@@ -34,7 +34,7 @@ bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) {
return false;
// If |base_path| does not exist, create it.
- if (!file_util::CreateDirectory(base_path))
+ if (!base::CreateDirectory(base_path))
return false;
// Create a new, uniquely named directory under |base_path|.
@@ -50,7 +50,7 @@ bool ScopedTempDir::Set(const FilePath& path) {
if (!path_.empty())
return false;
- if (!DirectoryExists(path) && !file_util::CreateDirectory(path))
+ if (!DirectoryExists(path) && !base::CreateDirectory(path))
return false;
path_ = path;
« no previous file with comments | « base/files/file_util_proxy_unittest.cc ('k') | base/mac/mac_util_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698