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

Side by Side Diff: net/url_request/url_request_ftp_job.h

Issue 3136025: Remove obviously unneeded forward declarations from headers under src/{app,base,net}. (Closed)
Patch Set: it was the best of times Created 10 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 unified diff | Download patch
« no previous file with comments | « net/url_request/url_request_context.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "net/base/auth.h" 12 #include "net/base/auth.h"
13 #include "net/base/completion_callback.h" 13 #include "net/base/completion_callback.h"
14 #include "net/ftp/ftp_request_info.h" 14 #include "net/ftp/ftp_request_info.h"
15 #include "net/ftp/ftp_transaction.h" 15 #include "net/ftp/ftp_transaction.h"
16 #include "net/url_request/url_request_job.h" 16 #include "net/url_request/url_request_job.h"
17 17
18 class URLRequestContext; 18 class URLRequestContext;
19 19
20 namespace net {
21 struct list_state;
22 }
23
24 // A URLRequestJob subclass that is built on top of FtpTransaction. It 20 // A URLRequestJob subclass that is built on top of FtpTransaction. It
25 // provides an implementation for FTP. 21 // provides an implementation for FTP.
26 class URLRequestFtpJob : public URLRequestJob { 22 class URLRequestFtpJob : public URLRequestJob {
27 public: 23 public:
28 24
29 explicit URLRequestFtpJob(URLRequest* request); 25 explicit URLRequestFtpJob(URLRequest* request);
30 26
31 static URLRequestJob* Factory(URLRequest* request, const std::string& scheme); 27 static URLRequestJob* Factory(URLRequest* request, const std::string& scheme);
32 28
33 // URLRequestJob methods: 29 // URLRequestJob methods:
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 scoped_refptr<net::AuthData> server_auth_; 68 scoped_refptr<net::AuthData> server_auth_;
73 69
74 // Keep a reference to the url request context to be sure it's not deleted 70 // Keep a reference to the url request context to be sure it's not deleted
75 // before us. 71 // before us.
76 scoped_refptr<URLRequestContext> context_; 72 scoped_refptr<URLRequestContext> context_;
77 73
78 DISALLOW_COPY_AND_ASSIGN(URLRequestFtpJob); 74 DISALLOW_COPY_AND_ASSIGN(URLRequestFtpJob);
79 }; 75 };
80 76
81 #endif // NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ 77 #endif // NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698