| Index: base/file_path.h
|
| ===================================================================
|
| --- base/file_path.h (revision 69859)
|
| +++ base/file_path.h (working copy)
|
| @@ -151,6 +151,16 @@
|
| // The character used to identify a file extension.
|
| static const CharType kExtensionSeparator;
|
|
|
| +#if defined(OS_WIN)
|
| + // Path length is limited to 260 on Windows unless prefixed
|
| + // with a special extended path prefix. UNC needs a separate
|
| + // prefix containing "UNC" in it.
|
| + static const CharType kExtendedPathPrefix[];
|
| + static const CharType kUNCExtendedPathPrefix[];
|
| + // '\\' Prefix for network shares.
|
| + static const CharType kSharePrefix[];
|
| +#endif
|
| +
|
| FilePath();
|
| FilePath(const FilePath& that);
|
| explicit FilePath(const StringType& path);
|
| @@ -307,6 +317,15 @@
|
| FilePath NormalizeWindowsPathSeparators() const;
|
| #endif
|
|
|
| +#if defined(OS_WIN)
|
| + // This is an interim solution to support long paths on Windows.
|
| + StringType ToLongFileNameHack(const StringType& path) const;
|
| +
|
| + // Gets the long form if it is in 8.3 file name format. Note that this
|
| + // is not supported for WinCE.
|
| + FilePath GetLongPathHack() const;
|
| +#endif
|
| +
|
| // Compare two strings in the same way the file system does.
|
| // Note that these always ignore case, even on file systems that are case-
|
| // sensitive. If case-sensitive comparison is ever needed, add corresponding
|
|
|