diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-16 19:10:23 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-16 19:10:23 +0000 |
commit | dd3aa79b68b6752e89a6be0af51506674925337a (patch) | |
tree | f70f4d0f405009fea8b53ad907d62184b45eaba0 /printing | |
parent | 13816d3fcfe2e4e109752cf03fe15ebbaf23e85e (diff) | |
download | chromium_src-dd3aa79b68b6752e89a6be0af51506674925337a.zip chromium_src-dd3aa79b68b6752e89a6be0af51506674925337a.tar.gz chromium_src-dd3aa79b68b6752e89a6be0af51506674925337a.tar.bz2 |
Rename base::Delete to base::DeleteFile
Also renames DeleteAfterReboot to DeleteFileAfterReboot, and removes FileUtilProxy::RecursiveDelete which was never called.
BUG=
R=shess@chromium.org
Review URL: https://codereview.chromium.org/18584011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211822 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/backend/cups_helper.cc | 4 | ||||
-rw-r--r-- | printing/backend/print_backend_cups.cc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/printing/backend/cups_helper.cc b/printing/backend/cups_helper.cc index 30a4b5b..1c143a5 100644 --- a/printing/backend/cups_helper.cc +++ b/printing/backend/cups_helper.cc @@ -350,7 +350,7 @@ bool parsePpdCapabilities( ppd_file_path, printer_capabilities.data(), data_size)) { - base::Delete(ppd_file_path, false); + base::DeleteFile(ppd_file_path, false); return false; } @@ -387,7 +387,7 @@ bool parsePpdCapabilities( caps.color_default = is_color; ppdClose(ppd); - base::Delete(ppd_file_path, false); + base::DeleteFile(ppd_file_path, false); *printer_info = caps; return true; diff --git a/printing/backend/print_backend_cups.cc b/printing/backend/print_backend_cups.cc index b28ca2c..e13cac9 100644 --- a/printing/backend/print_backend_cups.cc +++ b/printing/backend/print_backend_cups.cc @@ -246,7 +246,7 @@ bool PrintBackendCUPS::GetPrinterCapsAndDefaults( std::string content; bool res = file_util::ReadFileToString(ppd_path, &content); - base::Delete(ppd_path, false); + base::DeleteFile(ppd_path, false); if (res) { printer_info->printer_capabilities.swap(content); @@ -368,7 +368,7 @@ base::FilePath PrintBackendCUPS::GetPPD(const char* name) { << ", name: " << name << ", CUPS error: " << static_cast<int>(error_code) << ", HTTP error: " << http_error; - base::Delete(ppd_path, false); + base::DeleteFile(ppd_path, false); ppd_path.clear(); } } |