summaryrefslogtreecommitdiffstats
path: root/cloud_print/virtual_driver/win
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 20:08:54 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 20:08:54 +0000
commit426d1c945bcb1a8479d92a7dd023c34cbbc7a261 (patch)
tree8b6d4ad435be865cc5eae1dacfc3e299436fb596 /cloud_print/virtual_driver/win
parent425b55b976d5987b502d2e72e15befedbe2c9662 (diff)
downloadchromium_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/virtual_driver/win')
-rw-r--r--cloud_print/virtual_driver/win/port_monitor/port_monitor.cc2
-rw-r--r--cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
index cec4aac..4432404 100644
--- a/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
+++ b/cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
@@ -428,7 +428,7 @@ BOOL WINAPI Monitor2StartDocPort(HANDLE port_handle,
if (app_data_dir.empty())
return FALSE;
DeleteLeakedFiles(app_data_dir);
- if (!file_util::CreateDirectory(app_data_dir) ||
+ if (!base::CreateDirectory(app_data_dir) ||
!base::CreateTemporaryFileInDir(app_data_dir, &file_path)) {
LOG(ERROR) << "Can't create temporary file in " << app_data_dir.value();
return FALSE;
diff --git a/cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc b/cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc
index 0e32027..335503a 100644
--- a/cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc
+++ b/cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc
@@ -65,9 +65,9 @@ class PortMonitorTest : public testing::Test {
base::FilePath path;
PathService::Get(base::DIR_LOCAL_APP_DATA, &path);
base::FilePath main_path = path.Append(kChromeExePath);
- ASSERT_TRUE(file_util::CreateDirectory(main_path));
+ ASSERT_TRUE(base::CreateDirectory(main_path));
base::FilePath alternate_path = path.Append(kAlternateChromeExePath);
- ASSERT_TRUE(file_util::CreateDirectory(alternate_path));
+ ASSERT_TRUE(base::CreateDirectory(alternate_path));
}
virtual void DeleteTempChromeExeFiles() {