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

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

Issue 6056007: net: Add namespace net to the remaining files under url_request directory. (Closed)
Patch Set: chromeos fixes Created 9 years, 11 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.cc ('k') | net/url_request/url_request_http_job.h » ('j') | 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) 2011 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 "base/task.h" 12 #include "base/task.h"
13 #include "net/base/auth.h" 13 #include "net/base/auth.h"
14 #include "net/base/completion_callback.h" 14 #include "net/base/completion_callback.h"
15 #include "net/ftp/ftp_request_info.h" 15 #include "net/ftp/ftp_request_info.h"
16 #include "net/ftp/ftp_transaction.h" 16 #include "net/ftp/ftp_transaction.h"
17 #include "net/url_request/url_request_job.h" 17 #include "net/url_request/url_request_job.h"
18 18
19 namespace net {
20
19 class URLRequestContext; 21 class URLRequestContext;
20 22
21 namespace net {
22
23 // A URLRequestJob subclass that is built on top of FtpTransaction. It 23 // A URLRequestJob subclass that is built on top of FtpTransaction. It
24 // provides an implementation for FTP. 24 // provides an implementation for FTP.
25 class URLRequestFtpJob : public URLRequestJob { 25 class URLRequestFtpJob : public URLRequestJob {
26 public: 26 public:
27 27
28 explicit URLRequestFtpJob(URLRequest* request); 28 explicit URLRequestFtpJob(URLRequest* request);
29 29
30 static URLRequestJob* Factory(URLRequest* request, 30 static URLRequestJob* Factory(URLRequest* request,
31 const std::string& scheme); 31 const std::string& scheme);
32 32
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 scoped_refptr<URLRequestContext> context_; 75 scoped_refptr<URLRequestContext> context_;
76 76
77 ScopedRunnableMethodFactory<URLRequestFtpJob> method_factory_; 77 ScopedRunnableMethodFactory<URLRequestFtpJob> method_factory_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(URLRequestFtpJob); 79 DISALLOW_COPY_AND_ASSIGN(URLRequestFtpJob);
80 }; 80 };
81 81
82 } // namespace net 82 } // namespace net
83 83
84 #endif // NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_ 84 #endif // NET_URL_REQUEST_URL_REQUEST_FTP_JOB_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_context.cc ('k') | net/url_request/url_request_http_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698