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

Unified Diff: extensions/common/extension_resource.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 | « extensions/common/extension_paths.cc ('k') | gpu/config/gpu_info_collector_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_resource.cc
diff --git a/extensions/common/extension_resource.cc b/extensions/common/extension_resource.cc
index cdd7fce79e62b85ebc4e4ed7a7c84968c7a97622..e66054401328108949e48719ca63e716325e245f 100644
--- a/extensions/common/extension_resource.cc
+++ b/extensions/common/extension_resource.cc
@@ -88,7 +88,7 @@ base::FilePath ExtensionResource::GetFilePath(
// unfortunately.
// TODO(mad): Fix this once MakeAbsoluteFilePath is unified.
full_path = base::MakeAbsoluteFilePath(full_path);
- if (file_util::PathExists(full_path) &&
+ if (base::PathExists(full_path) &&
(symlink_policy == FOLLOW_SYMLINKS_ANYWHERE ||
clean_extension_root.IsParent(full_path))) {
return full_path;
« no previous file with comments | « extensions/common/extension_paths.cc ('k') | gpu/config/gpu_info_collector_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698