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

Unified Diff: base/file_util.h

Issue 7085005: Disallow links from being seen by the extensions via the fileapi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments incorporated. Created 9 years, 7 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 | « no previous file | base/file_util_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util.h
diff --git a/base/file_util.h b/base/file_util.h
index 28c96e9d8f7b42a1b301e8d365bcbce3652d3622..d9f4c3efcf6144bc937c539659f5eab36d19f64f 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -328,6 +328,9 @@ BASE_API bool NormalizeToNativeFilePath(const FilePath& path,
FilePath* nt_path);
#endif
+// This function will return if the given file is a symlink or not.
+BASE_API bool IsLink(const FilePath& file_path);
+
// Returns information about the given file path.
BASE_API bool GetFileInfo(const FilePath& file_path,
base::PlatformFileInfo* info);
« no previous file with comments | « no previous file | base/file_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698