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

Unified Diff: chrome/browser/extensions/external_pref_loader.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/extensions/external_pref_loader.cc
diff --git a/chrome/browser/extensions/external_pref_loader.cc b/chrome/browser/extensions/external_pref_loader.cc
index 849829a6bd97c7650e6311c378cbed45be4e035c..567fdb25001cfde251ec07209913ffde10f3a4a8 100644
--- a/chrome/browser/extensions/external_pref_loader.cc
+++ b/chrome/browser/extensions/external_pref_loader.cc
@@ -31,7 +31,7 @@ std::set<base::FilePath> GetPrefsCandidateFilesFromFolder(
std::set<base::FilePath> external_extension_paths;
- if (!file_util::PathExists(external_extension_search_path)) {
+ if (!base::PathExists(external_extension_search_path)) {
// Does not have to exist.
return external_extension_paths;
}
@@ -156,7 +156,7 @@ void ExternalPrefLoader::ReadExternalExtensionPrefFile(DictionaryValue* prefs) {
base::FilePath json_file = base_path_.Append(kExternalExtensionJson);
- if (!file_util::PathExists(json_file)) {
+ if (!base::PathExists(json_file)) {
// This is not an error. The file does not exist by default.
return;
}
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/external_registry_loader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698