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

Unified Diff: chrome/browser/chromeos/drive/drive_integration_service.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 | « chrome/browser/chromeos/drive/download_handler.cc ('k') | chrome/browser/chromeos/drive/file_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_integration_service.cc
diff --git a/chrome/browser/chromeos/drive/drive_integration_service.cc b/chrome/browser/chromeos/drive/drive_integration_service.cc
index 4044de28d76f4aa874dbaf6e9b010c33c6781a40..3aeae1ce25a8e844269fd20917da317a9e7ea217 100644
--- a/chrome/browser/chromeos/drive/drive_integration_service.cc
+++ b/chrome/browser/chromeos/drive/drive_integration_service.cc
@@ -100,11 +100,11 @@ FileError InitializeMetadata(
internal::ResourceMetadata* resource_metadata,
const ResourceIdCanonicalizer& id_canonicalizer,
const base::FilePath& downloads_directory) {
- if (!file_util::CreateDirectory(cache_root_directory.Append(
+ if (!base::CreateDirectory(cache_root_directory.Append(
kMetadataDirectory)) ||
- !file_util::CreateDirectory(cache_root_directory.Append(
+ !base::CreateDirectory(cache_root_directory.Append(
kCacheFileDirectory)) ||
- !file_util::CreateDirectory(cache_root_directory.Append(
+ !base::CreateDirectory(cache_root_directory.Append(
kTemporaryFileDirectory))) {
LOG(WARNING) << "Failed to create directories.";
return FILE_ERROR_FAILED;
« no previous file with comments | « chrome/browser/chromeos/drive/download_handler.cc ('k') | chrome/browser/chromeos/drive/file_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698