Index: base/file_util.h |
diff --git a/base/file_util.h b/base/file_util.h |
index a129876a634c922ffaa108022d7a4eb1d96704a6..64a91eea09a765124171d3683d2600dabb1a93a9 100644 |
--- a/base/file_util.h |
+++ b/base/file_util.h |
@@ -279,6 +279,13 @@ bool IsDot(const FilePath& path); |
// Returns true if the given path's base name is "..". |
bool IsDotDot(const FilePath& path); |
+#if defined(OS_POSIX) |
+// Set |real_path| to |path| with symbolic links expanded. |
+// Windows support (expanding junctions) comming soon: |
+// http://crbug.com/13044 |
+bool RealPath(const FilePath& path, FilePath* real_path); |
+#endif |
+ |
// Used to hold information about a given file path. See GetFileInfo below. |
struct FileInfo { |
// The size of the file in bytes. Undefined when is_directory is true. |