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

Unified Diff: chrome/browser/policy/cloud/resource_cache.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
Index: chrome/browser/policy/cloud/resource_cache.cc
diff --git a/chrome/browser/policy/cloud/resource_cache.cc b/chrome/browser/policy/cloud/resource_cache.cc
index 998b728dad3795bc1cf49618489bd1e7aaf16ea2..79b553141afbf0e73276e2836936c05a71222e8a 100644
--- a/chrome/browser/policy/cloud/resource_cache.cc
+++ b/chrome/browser/policy/cloud/resource_cache.cc
@@ -218,7 +218,7 @@ bool ResourceCache::VerifyKeyPath(const std::string& key,
if (!Base64Encode(key, &encoded))
return false;
*path = cache_dir_.AppendASCII(encoded);
- return allow_create ? file_util::CreateDirectory(*path) :
+ return allow_create ? base::CreateDirectory(*path) :
base::DirectoryExists(*path);
}

Powered by Google App Engine
This is Rietveld 408576698