OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ |
6 #define NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 virtual bool NeedsAuth() OVERRIDE; | 66 virtual bool NeedsAuth() OVERRIDE; |
67 virtual void GetAuthChallengeInfo( | 67 virtual void GetAuthChallengeInfo( |
68 scoped_refptr<AuthChallengeInfo>* auth_info) OVERRIDE; | 68 scoped_refptr<AuthChallengeInfo>* auth_info) OVERRIDE; |
69 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE; | 69 virtual void SetAuth(const AuthCredentials& credentials) OVERRIDE; |
70 virtual void CancelAuth() OVERRIDE; | 70 virtual void CancelAuth() OVERRIDE; |
71 | 71 |
72 // TODO(ibrar): Yet to give another look at this function. | 72 // TODO(ibrar): Yet to give another look at this function. |
73 virtual UploadProgress GetUploadProgress() const OVERRIDE; | 73 virtual UploadProgress GetUploadProgress() const OVERRIDE; |
74 virtual bool ReadRawData(IOBuffer* buf, | 74 virtual bool ReadRawData(IOBuffer* buf, |
75 int buf_size, | 75 int buf_size, |
76 int *bytes_read) OVERRIDE; | 76 int* bytes_read) OVERRIDE; |
77 | 77 |
78 void HandleAuthNeededResponse(); | 78 void HandleAuthNeededResponse(); |
79 | 79 |
80 RequestPriority priority_; | 80 RequestPriority priority_; |
81 | 81 |
82 ProxyService* proxy_service_; | 82 ProxyService* proxy_service_; |
83 ProxyInfo proxy_info_; | 83 ProxyInfo proxy_info_; |
84 ProxyService::PacRequest* pac_request_; | 84 ProxyService::PacRequest* pac_request_; |
85 | 85 |
86 FtpRequestInfo ftp_request_info_; | 86 FtpRequestInfo ftp_request_info_; |
(...skipping 11 matching lines...) Expand all Loading... |
98 | 98 |
99 FtpTransactionFactory* ftp_transaction_factory_; | 99 FtpTransactionFactory* ftp_transaction_factory_; |
100 FtpAuthCache* ftp_auth_cache_; | 100 FtpAuthCache* ftp_auth_cache_; |
101 | 101 |
102 DISALLOW_COPY_AND_ASSIGN(URLRequestFtpJob); | 102 DISALLOW_COPY_AND_ASSIGN(URLRequestFtpJob); |
103 }; | 103 }; |
104 | 104 |
105 } // namespace net | 105 } // namespace net |
106 | 106 |
107 #endif // NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ | 107 #endif // NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ |
OLD | NEW |