| Index: cloud_print/service/win/installer.cc
|
| diff --git a/cloud_print/service/win/installer.cc b/cloud_print/service/win/installer.cc
|
| index 57b477166bc910f0b7d23efadc7cfc24ee38829b..9d0de9e40eefb527e88e1f1a4e6e914f31c65da0 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)
|
| - file_util::Delete(path.DirName(), true);
|
| + base::Delete(path.DirName(), true);
|
| else
|
| - file_util::Delete(path, false);
|
| + base::Delete(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)) {
|
| - file_util::Delete(old_location, true);
|
| + base::Delete(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)) {
|
| - file_util::Delete(delete_path, true);
|
| + base::Delete(delete_path, true);
|
| }
|
| return S_OK;
|
| }
|
|
|