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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_api.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/api/file_system/file_system_api.cc
diff --git a/chrome/browser/extensions/api/file_system/file_system_api.cc b/chrome/browser/extensions/api/file_system/file_system_api.cc
index a44115786c68598dc064e3a41a658b71b044a143..0e6cd76ce6c147624beb30e6edc801fd3de8feea 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api.cc
+++ b/chrome/browser/extensions/api/file_system/file_system_api.cc
@@ -212,7 +212,7 @@ bool GetFilePathOfFileEntry(const std::string& filesystem_name,
bool DoCheckWritableFile(const base::FilePath& path,
const base::FilePath& extension_directory) {
// Don't allow links.
- if (file_util::PathExists(path) && file_util::IsLink(path))
+ if (base::PathExists(path) && file_util::IsLink(path))
return false;
if (extension_directory == path || extension_directory.IsParent(path))

Powered by Google App Engine
This is Rietveld 408576698