Index: chrome/browser/web_applications/web_app_mac.mm |
diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm |
index e4e3c0c5f0f7ebb8cf39d54c35e7803508fb1c0f..8a004eb8fc51da5f417ef9f0e7d4ab35ba468aec 100644 |
--- a/chrome/browser/web_applications/web_app_mac.mm |
+++ b/chrome/browser/web_applications/web_app_mac.mm |
@@ -229,10 +229,10 @@ void UpdateAppShortcutsSubdirLocalizedName( |
void DeletePathAndParentIfEmpty(const base::FilePath& app_path) { |
DCHECK(!app_path.empty()); |
- file_util::Delete(app_path, true); |
+ base::Delete(app_path, true); |
base::FilePath apps_folder = app_path.DirName(); |
if (file_util::IsDirectoryEmpty(apps_folder)) |
- file_util::Delete(apps_folder, false); |
+ base::Delete(apps_folder, false); |
} |
} // namespace |
@@ -361,7 +361,7 @@ void WebAppShortcutCreator::DeleteShortcuts() { |
// In case the user has moved/renamed/copied the app bundle. |
base::FilePath bundle_path = GetAppBundleById(GetBundleIdentifier()); |
if (!bundle_path.empty()) |
- file_util::Delete(bundle_path, true); |
+ base::Delete(bundle_path, true); |
// Delete the internal one. |
DeletePathAndParentIfEmpty(app_data_path_.Append(GetShortcutName())); |
@@ -369,7 +369,7 @@ void WebAppShortcutCreator::DeleteShortcuts() { |
bool WebAppShortcutCreator::UpdateShortcuts() { |
std::vector<base::FilePath> paths; |
- file_util::Delete(app_data_path_.Append(GetShortcutName()), true); |
+ base::Delete(app_data_path_.Append(GetShortcutName()), true); |
paths.push_back(app_data_path_); |
base::FilePath dst_path = GetDestinationPath(); |
@@ -381,7 +381,7 @@ bool WebAppShortcutCreator::UpdateShortcuts() { |
app_path = GetAppBundleById(GetBundleIdentifier()); |
if (!app_path.empty()) { |
- file_util::Delete(app_path, true); |
+ base::Delete(app_path, true); |
paths.push_back(app_path.DirName()); |
} |