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

Unified Diff: chrome/browser/component_updater/default_component_installer.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/default_component_installer.cc
diff --git a/chrome/browser/component_updater/default_component_installer.cc b/chrome/browser/component_updater/default_component_installer.cc
index d1b699b638334c282c01f0b6f654ed7249906115..fb4787114558f009c1c1431703e057584fb67864 100644
--- a/chrome/browser/component_updater/default_component_installer.cc
+++ b/chrome/browser/component_updater/default_component_installer.cc
@@ -112,7 +112,7 @@ void DefaultComponentInstaller::StartRegistration(
ComponentUpdateService* cus) {
base::FilePath base_dir = installer_traits_->GetBaseDirectory();
if (!base::PathExists(base_dir) &&
- !file_util::CreateDirectory(base_dir)) {
+ !base::CreateDirectory(base_dir)) {
NOTREACHED() << "Could not create the base directory for "
<< installer_traits_->GetName() << " ("
<< base_dir.MaybeAsASCII() << ").";

Powered by Google App Engine
This is Rietveld 408576698