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

Unified Diff: win8/delegate_execute/command_execute_impl.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 | « win8/delegate_execute/chrome_util.cc ('k') | win8/test/metro_registration_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/delegate_execute/command_execute_impl.cc
diff --git a/win8/delegate_execute/command_execute_impl.cc b/win8/delegate_execute/command_execute_impl.cc
index 03fb4daa9ab73ae9ca56024031bf60d8d6aaacec..4d28119bd1474848d9cff8883ddcdd3cd3deeec9 100644
--- a/win8/delegate_execute/command_execute_impl.cc
+++ b/win8/delegate_execute/command_execute_impl.cc
@@ -70,7 +70,7 @@ bool LaunchChromeBrowserProcess() {
delegate_exe_path.DirName()
.DirName()
.Append(chrome::kBrowserProcessExecutableName);
- if (!file_util::PathExists(chrome_exe_path)) {
+ if (!base::PathExists(chrome_exe_path)) {
// Try looking in the current directory if we couldn't find it one up in
// order to support developer installs.
chrome_exe_path =
@@ -78,7 +78,7 @@ bool LaunchChromeBrowserProcess() {
.Append(chrome::kBrowserProcessExecutableName);
}
- if (!file_util::PathExists(chrome_exe_path)) {
+ if (!base::PathExists(chrome_exe_path)) {
AtlTrace("Could not locate chrome.exe at: %ls\n",
chrome_exe_path.value().c_str());
return false;
@@ -392,9 +392,9 @@ bool CommandExecuteImpl::FindChromeExe(base::FilePath* chrome_exe) {
}
*chrome_exe = dir_exe.DirName().Append(chrome::kBrowserProcessExecutableName);
- if (!file_util::PathExists(*chrome_exe)) {
+ if (!base::PathExists(*chrome_exe)) {
*chrome_exe = dir_exe.Append(chrome::kBrowserProcessExecutableName);
- if (!file_util::PathExists(*chrome_exe)) {
+ if (!base::PathExists(*chrome_exe)) {
AtlTrace("Failed to find chrome exe file\n");
return false;
}
« no previous file with comments | « win8/delegate_execute/chrome_util.cc ('k') | win8/test/metro_registration_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698