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

Side by Side Diff: net/ftp/ftp_response_info.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « net/ftp/ftp_request_info.h ('k') | net/ftp/ftp_response_info.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_FTP_FTP_RESPONSE_INFO_H_
6 #define NET_FTP_FTP_RESPONSE_INFO_H_
7
8 #include "base/time/time.h"
9 #include "net/base/host_port_pair.h"
10
11 namespace net {
12
13 class FtpResponseInfo {
14 public:
15 FtpResponseInfo();
16 ~FtpResponseInfo();
17
18 // True if authentication failed and valid authentication credentials are
19 // needed.
20 bool needs_auth;
21
22 // The time at which the request was made that resulted in this response.
23 // For cached responses, this time could be "far" in the past.
24 base::Time request_time;
25
26 // The time at which the response headers were received. For cached
27 // responses, this time could be "far" in the past.
28 base::Time response_time;
29
30 // Expected content size, in bytes, as reported by SIZE command. Only valid
31 // for file downloads. -1 means unknown size.
32 int64 expected_content_size;
33
34 // True if the response data is of a directory listing.
35 bool is_directory_listing;
36
37 // Remote address of the socket which fetched this resource.
38 HostPortPair socket_address;
39 };
40
41 } // namespace net
42
43 #endif // NET_FTP_FTP_RESPONSE_INFO_H_
OLDNEW
« no previous file with comments | « net/ftp/ftp_request_info.h ('k') | net/ftp/ftp_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698