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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 scoped_ptr<FtpTransaction> ftp_transaction_; | 87 scoped_ptr<FtpTransaction> ftp_transaction_; |
88 | 88 |
89 HttpRequestInfo http_request_info_; | 89 HttpRequestInfo http_request_info_; |
90 scoped_ptr<HttpTransaction> http_transaction_; | 90 scoped_ptr<HttpTransaction> http_transaction_; |
91 const HttpResponseInfo* http_response_info_; | 91 const HttpResponseInfo* http_response_info_; |
92 | 92 |
93 bool read_in_progress_; | 93 bool read_in_progress_; |
94 | 94 |
95 scoped_refptr<AuthData> auth_data_; | 95 scoped_refptr<AuthData> auth_data_; |
96 | 96 |
97 base::WeakPtrFactory<URLRequestFtpJob> weak_factory_; | |
98 | |
99 FtpTransactionFactory* ftp_transaction_factory_; | 97 FtpTransactionFactory* ftp_transaction_factory_; |
100 FtpAuthCache* ftp_auth_cache_; | 98 FtpAuthCache* ftp_auth_cache_; |
101 | 99 |
| 100 base::WeakPtrFactory<URLRequestFtpJob> weak_factory_; |
| 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 |