diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 19:41:02 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 19:41:02 +0000 |
commit | 918efbf64de58c82ffa3cd8799d9ad822811a37a (patch) | |
tree | 5ceffb5e1576177d75f1aa8546bcae074df63c1e /cloud_print/service/win | |
parent | e07f44f6b208541c9602bb9cc5f311612aaab64a (diff) | |
download | chromium_src-918efbf64de58c82ffa3cd8799d9ad822811a37a.zip chromium_src-918efbf64de58c82ffa3cd8799d9ad822811a37a.tar.gz chromium_src-918efbf64de58c82ffa3cd8799d9ad822811a37a.tar.bz2 |
Move file_util::Delete to the base namespace
BUG=
Review URL: https://codereview.chromium.org/16950028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209475 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/service/win')
-rw-r--r-- | cloud_print/service/win/installer.cc | 8 | ||||
-rw-r--r-- | cloud_print/service/win/service_listener.cc | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cloud_print/service/win/installer.cc b/cloud_print/service/win/installer.cc index 57b4771..9d0de9e 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; } diff --git a/cloud_print/service/win/service_listener.cc b/cloud_print/service/win/service_listener.cc index 1d8cbf5..51d9c93 100644 --- a/cloud_print/service/win/service_listener.cc +++ b/cloud_print/service/win/service_listener.cc @@ -43,7 +43,7 @@ std::string GetEnvironment(const base::FilePath& user_data_dir) { DCHECK(file_util::PathExists(temp_file)); environment.SetString(SetupListener::kUserDataDirJsonValueName, user_data_dir.value()); - file_util::Delete(temp_file, false); + base::Delete(temp_file, false); } } |