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

Unified Diff: trunk/src/net/url_request/url_request_ftp_job.h

Issue 12605011: Revert 188912 "Removed static factories for data, ftp, file, and..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/net/url_request/url_request_file_job.cc ('k') | trunk/src/net/url_request/url_request_ftp_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/url_request/url_request_ftp_job.h
===================================================================
--- trunk/src/net/url_request/url_request_ftp_job.h (revision 188924)
+++ trunk/src/net/url_request/url_request_ftp_job.h (working copy)
@@ -32,6 +32,11 @@
FtpTransactionFactory* ftp_transaction_factory,
FtpAuthCache* ftp_auth_cache);
+ // TODO(shalev): get rid of this function in favor of FtpProtocolHandler.
+ static URLRequestJob* Factory(URLRequest* request,
+ NetworkDelegate* network_delegate,
+ const std::string& scheme);
+
// Overridden from URLRequestJob:
virtual bool IsSafeRedirect(const GURL& location) OVERRIDE;
virtual bool GetMimeType(std::string* mime_type) const OVERRIDE;
« no previous file with comments | « trunk/src/net/url_request/url_request_file_job.cc ('k') | trunk/src/net/url_request/url_request_ftp_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698