| Index: net/ftp/ftp_directory_listing_buffer.h
|
| diff --git a/net/ftp/ftp_directory_listing_buffer.h b/net/ftp/ftp_directory_listing_buffer.h
|
| index f71685c51af8173ee8fff3395a8ced28498e0b4e..7aead4988e12725cb6efccd7f4187238552bb9c2 100644
|
| --- a/net/ftp/ftp_directory_listing_buffer.h
|
| +++ b/net/ftp/ftp_directory_listing_buffer.h
|
| @@ -21,8 +21,10 @@ class FtpDirectoryListingParser;
|
|
|
| class FtpDirectoryListingBuffer {
|
| public:
|
| - FtpDirectoryListingBuffer();
|
| -
|
| + // Constructor. When the current time is needed to guess the year on partial
|
| + // date strings, |current_time| will be used. This allows passing a specific
|
| + // date during testing.
|
| + explicit FtpDirectoryListingBuffer(const base::Time& current_time);
|
| ~FtpDirectoryListingBuffer();
|
|
|
| // Called when data is received from the data socket. Returns network
|
|
|