| Index: base/file_util_win.cc
|
| diff --git a/base/file_util_win.cc b/base/file_util_win.cc
|
| index 2c26a16e825b477d63582323a1942be5195703b0..f810ba9b5bdd0445de7c0e4757ab6fe44d831762 100644
|
| --- a/base/file_util_win.cc
|
| +++ b/base/file_util_win.cc
|
| @@ -680,6 +680,17 @@ bool CreateDirectory(const FilePath& full_path) {
|
| }
|
| }
|
|
|
| +bool AreReferringToSameObject(const FilePath& a, const FilePath& b) {
|
| + FilePath normal_a;
|
| + FilePath normal_b;
|
| + if (file_util::NormalizeFilePath(a, &normal_a)) {
|
| + if (file_util::NormalizeFilePath(b, &normal_b)) {
|
| + return normal_a == normal_b;
|
| + }
|
| + }
|
| + return false;
|
| +}
|
| +
|
| bool GetFileInfo(const FilePath& file_path, base::PlatformFileInfo* results) {
|
| base::ThreadRestrictions::AssertIOAllowed();
|
|
|
|
|