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

Unified Diff: chrome/browser/web_applications/web_app_mac.mm

Issue 18286004: Move PathExists to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months 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/browser/user_style_sheet_watcher.cc ('k') | chrome/browser/web_applications/web_app_mac_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 354eaeca8e52048b131320782ff678bada40ecdc..c0856380d9c8c31985458b27810636fa6189d69a 100644
--- a/chrome/browser/web_applications/web_app_mac.mm
+++ b/chrome/browser/web_applications/web_app_mac.mm
@@ -166,7 +166,7 @@ void LaunchShimOnFileThread(
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE));
base::FilePath shim_path = web_app::GetAppInstallPath(shortcut_info);
- if (shim_path.empty() || !file_util::PathExists(shim_path)) {
+ if (shim_path.empty() || !base::PathExists(shim_path)) {
// The user may have deleted the copy in the Applications folder, use the
// one in the web app's app_data_path.
base::FilePath app_data_path = web_app::GetWebAppDataDirectory(
@@ -174,7 +174,7 @@ void LaunchShimOnFileThread(
shim_path = app_data_path.Append(shim_path.BaseName());
}
- if (!file_util::PathExists(shim_path))
+ if (!base::PathExists(shim_path))
return;
CommandLine command_line(CommandLine::NO_PROGRAM);
@@ -377,7 +377,7 @@ bool WebAppShortcutCreator::UpdateShortcuts() {
// If the path does not exist, check if a matching bundle can be found
// elsewhere.
- if (dst_path.empty() || !file_util::PathExists(app_path))
+ if (dst_path.empty() || !base::PathExists(app_path))
app_path = GetAppBundleById(GetBundleIdentifier());
if (!app_path.empty()) {
« no previous file with comments | « chrome/browser/user_style_sheet_watcher.cc ('k') | chrome/browser/web_applications/web_app_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698