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

Unified Diff: chrome/browser/ui/web_applications/web_app_ui.cc

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/ui/views/extensions/native_app_window_views.cc ('k') | chrome/browser/ui/webui/nacl_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/web_applications/web_app_ui.cc
diff --git a/chrome/browser/ui/web_applications/web_app_ui.cc b/chrome/browser/ui/web_applications/web_app_ui.cc
index d24c6ac515b062eff4fcbb768d386f5ba3b9a486..1cc9584d9adc9b95ae6d18c6a8a34c34c0f1f087 100644
--- a/chrome/browser/ui/web_applications/web_app_ui.cc
+++ b/chrome/browser/ui/web_applications/web_app_ui.cc
@@ -260,7 +260,7 @@ void UpdateShortcutWorker::CheckExistingShortcuts() {
base::FilePath shortcut_file = path.Append(file_name_).
ReplaceExtension(FILE_PATH_LITERAL(".lnk"));
- if (file_util::PathExists(shortcut_file)) {
+ if (base::PathExists(shortcut_file)) {
shortcut_files_.push_back(shortcut_file);
}
}
@@ -280,7 +280,7 @@ void UpdateShortcutWorker::UpdateShortcutsOnFileThread() {
// Ensure web_app_path exists. web_app_path could be missing for a legacy
// shortcut created by Gears.
- if (!file_util::PathExists(web_app_path) &&
+ if (!base::PathExists(web_app_path) &&
!file_util::CreateDirectory(web_app_path)) {
NOTREACHED();
return;
« no previous file with comments | « chrome/browser/ui/views/extensions/native_app_window_views.cc ('k') | chrome/browser/ui/webui/nacl_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698