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

Unified Diff: cloud_print/common/win/install_utils.cc

Issue 99923002: Move temp file 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
« no previous file with comments | « chrome_frame/test/ui_test.cc ('k') | cloud_print/gcp20/prototype/print_job_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/common/win/install_utils.cc
diff --git a/cloud_print/common/win/install_utils.cc b/cloud_print/common/win/install_utils.cc
index 4190a7bdee6c47ade7d4fba446a74019f5d426cb..98a3e0defe705eef96f6fc99e174afac5340a187 100644
--- a/cloud_print/common/win/install_utils.cc
+++ b/cloud_print/common/win/install_utils.cc
@@ -172,7 +172,7 @@ void DeleteProgramDir(const std::string& delete_switch) {
if (!IsProgramsFilesParent(installer_source))
return;
base::FilePath temp_path;
- if (!file_util::CreateTemporaryFile(&temp_path))
+ if (!base::CreateTemporaryFile(&temp_path))
return;
base::CopyFile(installer_source, temp_path);
base::DeleteFileAfterReboot(temp_path);
« no previous file with comments | « chrome_frame/test/ui_test.cc ('k') | cloud_print/gcp20/prototype/print_job_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698