| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_NEW_FTP_JOB_H_ | 5 #ifndef NET_URL_REQUEST_URL_REQUEST_NEW_FTP_JOB_H_ |
| 6 #define NET_URL_REQUEST_URL_REQUEST_NEW_FTP_JOB_H_ | 6 #define NET_URL_REQUEST_URL_REQUEST_NEW_FTP_JOB_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | |
| 10 | 9 |
| 11 #include "net/base/auth.h" | 10 #include "net/base/auth.h" |
| 12 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
| 13 #include "net/ftp/ftp_request_info.h" | 12 #include "net/ftp/ftp_request_info.h" |
| 14 #include "net/ftp/ftp_transaction.h" | 13 #include "net/ftp/ftp_transaction.h" |
| 15 #include "net/url_request/url_request_job.h" | 14 #include "net/url_request/url_request_job.h" |
| 16 | 15 |
| 17 class URLRequestContext; | 16 class URLRequestContext; |
| 18 | 17 |
| 19 // A URLRequestJob subclass that is built on top of FtpTransaction. It | 18 // A URLRequestJob subclass that is built on top of FtpTransaction. It |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 bool read_in_progress_; | 56 bool read_in_progress_; |
| 58 | 57 |
| 59 // Keep a reference to the url request context to be sure it's not deleted | 58 // Keep a reference to the url request context to be sure it's not deleted |
| 60 // before us. | 59 // before us. |
| 61 scoped_refptr<URLRequestContext> context_; | 60 scoped_refptr<URLRequestContext> context_; |
| 62 | 61 |
| 63 DISALLOW_COPY_AND_ASSIGN(URLRequestNewFtpJob); | 62 DISALLOW_COPY_AND_ASSIGN(URLRequestNewFtpJob); |
| 64 }; | 63 }; |
| 65 | 64 |
| 66 #endif // NET_URL_REQUEST_URL_REQUEST_NEW_FTP_JOB_H_ | 65 #endif // NET_URL_REQUEST_URL_REQUEST_NEW_FTP_JOB_H_ |
| OLD | NEW |