Index: cloud_print/service/win/installer.cc |
diff --git a/cloud_print/service/win/installer.cc b/cloud_print/service/win/installer.cc |
index 9d0de9e40eefb527e88e1f1a4e6e914f31c65da0..9a2602d9f100a649219561fd08f1e8a40e3e9a85 100644 |
--- a/cloud_print/service/win/installer.cc |
+++ b/cloud_print/service/win/installer.cc |
@@ -64,9 +64,9 @@ void DeleteShortcut(int dir_key, bool with_subdir) { |
if (path.empty()) |
return; |
if (with_subdir) |
- base::Delete(path.DirName(), true); |
+ base::DeleteFile(path.DirName(), true); |
else |
- base::Delete(path, false); |
+ base::DeleteFile(path, false); |
} |
void DeleteShortcuts() { |
@@ -95,7 +95,7 @@ HRESULT ProcessInstallerSwitches() { |
if (!old_location.empty() && |
cloud_print::IsProgramsFilesParent(old_location) && |
old_location != cloud_print::GetInstallLocation(kGoogleUpdateId)) { |
- base::Delete(old_location, true); |
+ base::DeleteFile(old_location, true); |
} |
cloud_print::SetGoogleUpdateKeys( |
@@ -120,7 +120,7 @@ HRESULT ProcessInstallerSwitches() { |
base::FilePath delete_path = command_line.GetSwitchValuePath(kDeleteSwitch); |
if (!delete_path.empty() && |
cloud_print::IsProgramsFilesParent(delete_path)) { |
- base::Delete(delete_path, true); |
+ base::DeleteFile(delete_path, true); |
} |
return S_OK; |
} |