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

Unified Diff: chrome/browser/chromeos/policy/user_policy_disk_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/chromeos/policy/user_policy_disk_cache.cc
diff --git a/chrome/browser/chromeos/policy/user_policy_disk_cache.cc b/chrome/browser/chromeos/policy/user_policy_disk_cache.cc
index d22cddf3e2edc228f15d4c1df977943b39fc3923..e6a669b7b63fde02cb8f425b11875847d54a151f 100644
--- a/chrome/browser/chromeos/policy/user_policy_disk_cache.cc
+++ b/chrome/browser/chromeos/policy/user_policy_disk_cache.cc
@@ -121,7 +121,7 @@ void UserPolicyDiskCache::StoreOnFileThread(
return;
}
- if (!file_util::CreateDirectory(backing_file_path_.DirName())) {
+ if (!base::CreateDirectory(backing_file_path_.DirName())) {
LOG(WARNING) << "Failed to create directory "
<< backing_file_path_.DirName().value();
UMA_HISTOGRAM_ENUMERATION(policy::kMetricPolicy,

Powered by Google App Engine
This is Rietveld 408576698