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

Unified Diff: printing/backend/print_backend_cups.cc

Issue 16950028: Move file_util::Delete to the base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months 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
« no previous file with comments | « printing/backend/cups_helper.cc ('k') | remoting/host/config_file_watcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/backend/print_backend_cups.cc
diff --git a/printing/backend/print_backend_cups.cc b/printing/backend/print_backend_cups.cc
index 1f40e59fc4e72b7228ef93e1449f6a47dc0197c3..5330db84063ba485377612591dd3a83e68028475 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);
- file_util::Delete(ppd_path, false);
+ base::Delete(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;
- file_util::Delete(ppd_path, false);
+ base::Delete(ppd_path, false);
ppd_path.clear();
}
}
« no previous file with comments | « printing/backend/cups_helper.cc ('k') | remoting/host/config_file_watcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698