Index: chrome/browser/chromeos/extensions/external_cache.cc |
diff --git a/chrome/browser/chromeos/extensions/external_cache.cc b/chrome/browser/chromeos/extensions/external_cache.cc |
index 02a115e99a5148b489d3ca28988d0e24c871310f..d56d3018d9ece6076b9fdecb21392c3ba494e626 100644 |
--- a/chrome/browser/chromeos/extensions/external_cache.cc |
+++ b/chrome/browser/chromeos/extensions/external_cache.cc |
@@ -290,7 +290,7 @@ void ExternalCache::BackendCheckCacheContentsInternal( |
// Start by verifying that the cache_dir exists. |
if (!base::DirectoryExists(cache_dir)) { |
// Create it now. |
- if (!file_util::CreateDirectory(cache_dir)) { |
+ if (!base::CreateDirectory(cache_dir)) { |
LOG(ERROR) << "Failed to create ExternalCache directory at " |
<< cache_dir.value(); |
} |
@@ -492,7 +492,7 @@ void ExternalCache::BackendInstallCacheEntry( |
if (!base::DirectoryExists(cache_dir)) { |
LOG(ERROR) << "AppPack cache directory does not exist, creating now: " |
<< cache_dir.value(); |
- if (!file_util::CreateDirectory(cache_dir)) { |
+ if (!base::CreateDirectory(cache_dir)) { |
LOG(ERROR) << "Failed to create the AppPack cache dir!"; |
base::DeleteFile(path, true /* recursive */); |
return; |