OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <stdint.h> | 5 #include <stdint.h> |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 FileSystemOperation::OPTION_PRESERVE_LAST_MODIFIED, | 400 FileSystemOperation::OPTION_PRESERVE_LAST_MODIFIED, |
401 NativeFileUtil::MOVE)); | 401 NativeFileUtil::MOVE)); |
402 | 402 |
403 ASSERT_TRUE(FileExists(to_file3)); | 403 ASSERT_TRUE(FileExists(to_file3)); |
404 ASSERT_EQ(base::File::FILE_OK, | 404 ASSERT_EQ(base::File::FILE_OK, |
405 NativeFileUtil::GetFileInfo(to_file2, &file_info2)); | 405 NativeFileUtil::GetFileInfo(to_file2, &file_info2)); |
406 EXPECT_EQ(file_info1.last_modified, file_info2.last_modified); | 406 EXPECT_EQ(file_info1.last_modified, file_info2.last_modified); |
407 } | 407 } |
408 | 408 |
409 } // namespace content | 409 } // namespace content |
OLD | NEW |