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

Unified Diff: cloud_print/virtual_driver/win/port_monitor/port_monitor.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: cloud_print/virtual_driver/win/port_monitor/port_monitor.cc
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 cec4aac7e2343d90145da99e517598cd54efe761..4432404713cc4170ac12831da1f2cae70550b66b 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;
« no previous file with comments | « cloud_print/service/win/service_listener.cc ('k') | cloud_print/virtual_driver/win/port_monitor/port_monitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698