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

Unified Diff: net/ftp/ftp_response_info.h

Issue 173270: Implement RestartWithAuth for NewFtpTransaction. (Closed)
Patch Set: win compile fixes Created 11 years, 4 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
Index: net/ftp/ftp_response_info.h
diff --git a/net/ftp/ftp_response_info.h b/net/ftp/ftp_response_info.h
index b3c3361dddc3703315a7ed10d7e738e5ea121a8c..3361120bca0a354f2dfa011b82a675be22ecb3b6 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 {
+struct FtpResponseInfo {
wtc 2009/08/25 20:52:50 Please change this back to 'class'. We use 'class
public:
- FtpResponseInfo() : is_directory_listing(false) {
+ FtpResponseInfo() : auth_needed(false), is_directory_listing(false) {
}
- // Non-null when authentication is required.
- scoped_refptr<AuthChallengeInfo> auth_challenge;
wtc 2009/08/25 20:52:50 Is a bool (auth_needed) all we need for FTP? I gue
+ // True if authentication failed and valid authentication credentials are
+ // needed.
+ bool auth_needed;
wtc 2009/08/25 20:52:50 Nit: rename this member needs_auth to match the Ne
// The time at which the request was made that resulted in this response.
// For cached responses, this time could be "far" in the past.

Powered by Google App Engine
This is Rietveld 408576698