summaryrefslogtreecommitdiffstats
path: root/win8
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-11 17:36:07 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-11 17:36:07 +0000
commit7567484144da059e2c2c2a818b06660a5459052f (patch)
treea4ceafc7e890051c25dbdd54b170d0f5794dd229 /win8
parent8a25d54d6eb190a8b82479b5309a892c1080a372 (diff)
downloadchromium_src-7567484144da059e2c2c2a818b06660a5459052f.zip
chromium_src-7567484144da059e2c2c2a818b06660a5459052f.tar.gz
chromium_src-7567484144da059e2c2c2a818b06660a5459052f.tar.bz2
Move PathExists to base namespace.
BUG= TBR=jam@chromium.org Review URL: https://codereview.chromium.org/18286004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8')
-rw-r--r--win8/delegate_execute/chrome_util.cc2
-rw-r--r--win8/delegate_execute/command_execute_impl.cc8
-rw-r--r--win8/test/metro_registration_helper.cc2
3 files changed, 6 insertions, 6 deletions
diff --git a/win8/delegate_execute/chrome_util.cc b/win8/delegate_execute/chrome_util.cc
index 894b5b3..e2b9b07 100644
--- a/win8/delegate_execute/chrome_util.cc
+++ b/win8/delegate_execute/chrome_util.cc
@@ -81,7 +81,7 @@ bool IsBrowserRunning(const base::FilePath& chrome_exe) {
// |chrome_exe|.
bool NewChromeExeExists(const base::FilePath& chrome_exe) {
base::FilePath new_chrome_exe(chrome_exe.DirName().Append(kNewChromeExe));
- return file_util::PathExists(new_chrome_exe);
+ return base::PathExists(new_chrome_exe);
}
bool GetUpdateCommand(bool is_per_user, string16* update_command) {
diff --git a/win8/delegate_execute/command_execute_impl.cc b/win8/delegate_execute/command_execute_impl.cc
index 1bed342..eb1e035 100644
--- a/win8/delegate_execute/command_execute_impl.cc
+++ b/win8/delegate_execute/command_execute_impl.cc
@@ -71,7 +71,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 =
@@ -79,7 +79,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;
}
diff --git a/win8/test/metro_registration_helper.cc b/win8/test/metro_registration_helper.cc
index dd07cf6..202eb73 100644
--- a/win8/test/metro_registration_helper.cc
+++ b/win8/test/metro_registration_helper.cc
@@ -43,7 +43,7 @@ bool RegisterTestDefaultBrowser() {
base::FilePath chrome_exe(dir.Append(kChromeExe));
base::FilePath registrar(dir.Append(kRegistrar));
- if (!file_util::PathExists(chrome_exe) || !file_util::PathExists(registrar)) {
+ if (!base::PathExists(chrome_exe) || !base::PathExists(registrar)) {
LOG(ERROR) << "Could not locate " << kChromeExe << " or " << kRegistrar;
return false;
}