Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: net/ftp/ftp_response_info.h

Issue 115137: FTP Transaction code for new Portable FTP code.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/ftp/ftp_request_info.h ('k') | net/ftp/ftp_transaction.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_response_info.h
===================================================================
--- net/ftp/ftp_response_info.h (revision 15612)
+++ net/ftp/ftp_response_info.h (working copy)
@@ -11,17 +11,22 @@
class FtpResponseInfo {
public:
+ FtpResponseInfo() : is_directory_listing(false) {
+ }
+
// Non-null when authentication is required.
scoped_refptr<AuthChallengeInfo> auth_challenge;
- // The length of the response. -1 means unspecified.
- int64 content_length;
+ // The time at which the request was made that resulted in this response.
+ // For cached responses, this time could be "far" in the past.
+ base::Time request_time;
+ // The time at which the response headers were received. For cached
+ // responses, this time could be "far" in the past.
+ base::Time response_time;
+
// True if the response data is of a directory listing.
bool is_directory_listing;
-
- FtpResponseInfo() : content_length(-1), is_directory_listing(false) {
- }
};
} // namespace net
« no previous file with comments | « net/ftp/ftp_request_info.h ('k') | net/ftp/ftp_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698