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

Unified Diff: chrome/browser/first_run/first_run.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
Index: chrome/browser/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index 86011c8aa55709ef6cb29561da4e45451784f859..effb63d31fa895dde48076624657169a716ecb80 100644
--- a/chrome/browser/first_run/first_run.cc
+++ b/chrome/browser/first_run/first_run.cc
@@ -169,7 +169,7 @@ base::FilePath GetDefaultPrefFilePath(bool create_profile_dir,
base::FilePath default_pref_dir =
ProfileManager::GetDefaultProfileDir(user_data_dir);
if (create_profile_dir) {
- if (!file_util::PathExists(default_pref_dir)) {
+ if (!base::PathExists(default_pref_dir)) {
if (!file_util::CreateDirectory(default_pref_dir))
return base::FilePath();
}
@@ -470,7 +470,7 @@ bool IsChromeFirstRun() {
base::FilePath first_run_sentinel;
if (!internal::GetFirstRunSentinelFilePath(&first_run_sentinel) ||
- file_util::PathExists(first_run_sentinel)) {
+ base::PathExists(first_run_sentinel)) {
internal::first_run_ = internal::FIRST_RUN_FALSE;
return false;
}
@@ -677,7 +677,7 @@ void AutoImport(
base::FilePath local_state_path;
PathService::Get(chrome::FILE_LOCAL_STATE, &local_state_path);
- bool local_state_file_exists = file_util::PathExists(local_state_path);
+ bool local_state_file_exists = base::PathExists(local_state_path);
scoped_refptr<ImporterList> importer_list(new ImporterList());
importer_list->DetectSourceProfilesHack(
« no previous file with comments | « chrome/browser/extensions/user_script_listener_unittest.cc ('k') | chrome/browser/first_run/first_run_internal_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698