DescriptionRetrial of the first step to port file_util::CountFilesCreatedAfter().
CountFileCreatedAfter() takes FilePath and Time instead of wstring and FILETIME.
We still need to implement the function for POSIX.
I'll work on the change after this change.
In the previous attempt, it seemed that the test for CountFilesCreatedAfter() failed due to discrepancy between system clock and Time::Now() on the build bot.
Time::Now() doesn't always use system clock for better performance and the difference can be large on virtual machines.
I added Time::NowFromSystemTime() to solve this issue.
BUG=9833
Patch Set 1 #
Total comments: 6
Patch Set 2 : '' #
Total comments: 2
Patch Set 3 : '' #
Messages
Total messages: 7 (0 generated)
|