| Index: net/base/filename_util.cc
|
| diff --git a/net/base/filename_util.cc b/net/base/filename_util.cc
|
| index 6573c2261610593dd145b071f4ad24bf54082c07..9bf83431187ad61a11b8e2ef8dc46b2c908e2c60 100644
|
| --- a/net/base/filename_util.cc
|
| +++ b/net/base/filename_util.cc
|
| @@ -92,7 +92,7 @@ bool FileURLToFilePath(const GURL& url, base::FilePath* file_path) {
|
| path.append(url.path());
|
| }
|
| std::replace(path.begin(), path.end(), '/', '\\');
|
| -#else // defined(OS_WIN)
|
| +#else // defined(OS_WIN)
|
| // Firefox seems to ignore the "host" of a file url if there is one. That is,
|
| // file://foo/bar.txt maps to /bar.txt.
|
| // TODO(dhg): This should probably take into account UNCs which could
|
| @@ -123,7 +123,7 @@ bool FileURLToFilePath(const GURL& url, base::FilePath* file_path) {
|
| // string back. We detect this and report failure.
|
| file_path_str = base::SysNativeMBToWide(path);
|
| }
|
| -#else // defined(OS_WIN)
|
| +#else // defined(OS_WIN)
|
| // Collapse multiple path slashes into a single path slash.
|
| std::string new_path;
|
| do {
|
|
|