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

Unified Diff: chrome/browser/component_updater/component_patcher_operation.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/component_updater/component_patcher_operation.cc
diff --git a/chrome/browser/component_updater/component_patcher_operation.cc b/chrome/browser/component_updater/component_patcher_operation.cc
index 3f5f46a61354476cc3787cfd3c6d590709643d9f..3f8144020f965a9d86a5662ae201d8f2356b20b6 100644
--- a/chrome/browser/component_updater/component_patcher_operation.cc
+++ b/chrome/browser/component_updater/component_patcher_operation.cc
@@ -73,7 +73,7 @@ ComponentUnpacker::Error DeltaUpdateOp::Run(base::DictionaryValue* command_args,
const base::FilePath parent = output_abs_path_.DirName();
if (!base::DirectoryExists(parent)) {
- if (!file_util::CreateDirectory(parent))
+ if (!base::CreateDirectory(parent))
return ComponentUnpacker::kIoError;
}

Powered by Google App Engine
This is Rietveld 408576698