Index: base/files/file_util.h |
diff --git a/base/files/file_util.h b/base/files/file_util.h |
index 8f7d53c72c81020bcc0f2df7c18c88233f180524..8fd9fffeb36d044c6e169fc24f33ccdea0dec732 100644 |
--- a/base/files/file_util.h |
+++ b/base/files/file_util.h |
@@ -288,6 +288,10 @@ BASE_EXPORT bool DevicePathToDriveLetterPath(const FilePath& device_path, |
// be resolved with this function. |
BASE_EXPORT bool NormalizeToNativeFilePath(const FilePath& path, |
FilePath* nt_path); |
+ |
+// Given an existing file in |path|, returns whether this file is on a network |
+// drive or not. If |path| does not exist, this function returns false. |
+BASE_EXPORT bool IsOnNetworkDrive(const base::FilePath& path); |
#endif |
// This function will return if the given file is a symlink or not. |