| Index: base/file_path.cc
|
| ===================================================================
|
| --- base/file_path.cc (revision 68690)
|
| +++ base/file_path.cc (working copy)
|
| @@ -34,6 +34,11 @@
|
| const FilePath::CharType FilePath::kCurrentDirectory[] = FILE_PATH_LITERAL(".");
|
| const FilePath::CharType FilePath::kParentDirectory[] = FILE_PATH_LITERAL("..");
|
|
|
| +#if defined(OS_WIN)
|
| +const FilePath::CharType FilePath::kExtendedPathPrefix[] = FILE_PATH_LITERAL(
|
| + "\\\\?\\");
|
| +#endif
|
| +
|
| const FilePath::CharType FilePath::kExtensionSeparator = FILE_PATH_LITERAL('.');
|
|
|
| typedef FilePath::StringType StringType;
|
| @@ -1190,3 +1195,9 @@
|
| return FilePath(copy);
|
| }
|
| #endif
|
| +
|
| +#if defined(OS_WIN)
|
| +bool FilePath::StartsWithExtendedPathPrefix() const {
|
| + return StartsWith(path_, kExtendedPathPrefix, false);
|
| +}
|
| +#endif
|
|
|