summaryrefslogtreecommitdiffstats
path: root/net/ftp/ftp_response_info.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 15:57:58 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-26 15:57:58 +0000
commit8b8a197df55d54f6bde86858b7a820e12473f304 (patch)
treeaba47fac644c3ca721e4a489bfba616556c09a1a /net/ftp/ftp_response_info.h
parentbee16aabebd2b0415acb9680d2e1b90ce9c1fd60 (diff)
downloadchromium_src-8b8a197df55d54f6bde86858b7a820e12473f304.zip
chromium_src-8b8a197df55d54f6bde86858b7a820e12473f304.tar.gz
chromium_src-8b8a197df55d54f6bde86858b7a820e12473f304.tar.bz2
Implement RestartWithAuth for NewFtpTransaction.
TEST=Covered by net_unittests. http://crbug.com/20112 Review URL: http://codereview.chromium.org/173270 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24449 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ftp/ftp_response_info.h')
-rw-r--r--net/ftp/ftp_response_info.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/ftp/ftp_response_info.h b/net/ftp/ftp_response_info.h
index b3c3361..9c94064 100644
--- a/net/ftp/ftp_response_info.h
+++ b/net/ftp/ftp_response_info.h
@@ -5,17 +5,18 @@
#ifndef NET_FTP_FTP_RESPONSE_INFO_H_
#define NET_FTP_FTP_RESPONSE_INFO_H_
-#include "net/base/auth.h"
+#include "base/time.h"
namespace net {
class FtpResponseInfo {
public:
- FtpResponseInfo() : is_directory_listing(false) {
+ FtpResponseInfo() : needs_auth(false), is_directory_listing(false) {
}
- // Non-null when authentication is required.
- scoped_refptr<AuthChallengeInfo> auth_challenge;
+ // True if authentication failed and valid authentication credentials are
+ // needed.
+ bool needs_auth;
// The time at which the request was made that resulted in this response.
// For cached responses, this time could be "far" in the past.