diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 20:08:54 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-03 20:08:54 +0000 |
commit | 426d1c945bcb1a8479d92a7dd023c34cbbc7a261 (patch) | |
tree | 8b6d4ad435be865cc5eae1dacfc3e299436fb596 /cloud_print/service/win | |
parent | 425b55b976d5987b502d2e72e15befedbe2c9662 (diff) | |
download | chromium_src-426d1c945bcb1a8479d92a7dd023c34cbbc7a261.zip chromium_src-426d1c945bcb1a8479d92a7dd023c34cbbc7a261.tar.gz chromium_src-426d1c945bcb1a8479d92a7dd023c34cbbc7a261.tar.bz2 |
Move directory creation functions to base namespace.
BUG=
Review URL: https://codereview.chromium.org/100573002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238446 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/service/win')
-rw-r--r-- | cloud_print/service/win/installer.cc | 2 | ||||
-rw-r--r-- | cloud_print/service/win/service_listener.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cloud_print/service/win/installer.cc b/cloud_print/service/win/installer.cc index 9a2602d..a08b1445 100644 --- a/cloud_print/service/win/installer.cc +++ b/cloud_print/service/win/installer.cc @@ -38,7 +38,7 @@ void CreateShortcut(int dir_key, bool with_subdir, base::FilePath path = GetShortcutPath(dir_key, with_subdir); if (path.empty()) return; - file_util::CreateDirectory(path.DirName()); + base::CreateDirectory(path.DirName()); base::win::ShortcutProperties properties; base::FilePath exe_path; diff --git a/cloud_print/service/win/service_listener.cc b/cloud_print/service/win/service_listener.cc index e0f9112..53622a8 100644 --- a/cloud_print/service/win/service_listener.cc +++ b/cloud_print/service/win/service_listener.cc @@ -37,7 +37,7 @@ std::string GetEnvironment(const base::FilePath& user_data_dir) { GetCurrentUserName()); environment.SetString(SetupListener::kChromePathJsonValueName, chrome_launcher_support::GetAnyChromePath().value()); - if (file_util::CreateDirectory(user_data_dir)) { + if (base::CreateDirectory(user_data_dir)) { base::FilePath temp_file; if (base::CreateTemporaryFileInDir(user_data_dir, &temp_file)) { DCHECK(base::PathExists(temp_file)); |