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

Unified Diff: net/url_request/url_request_context.h

Issue 42197: Add command line switch "--new-ftp" for new portable... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 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 | « net/net_lib.scons ('k') | 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: net/url_request/url_request_context.h
===================================================================
--- net/url_request/url_request_context.h (revision 11734)
+++ net/url_request/url_request_context.h (working copy)
@@ -16,8 +16,9 @@
#include "net/ftp/ftp_auth_cache.h"
namespace net {
+class CookieMonster;
+class FtpTransactionFactory;
class HttpTransactionFactory;
-class CookieMonster;
class ProxyService;
}
@@ -28,6 +29,7 @@
URLRequestContext()
: proxy_service_(NULL),
http_transaction_factory_(NULL),
+ ftp_transaction_factory_(NULL),
cookie_store_(NULL) {
}
@@ -41,6 +43,11 @@
return http_transaction_factory_;
}
+ // Gets the ftp transaction factory for this context.
+ net::FtpTransactionFactory* ftp_transaction_factory() {
+ return ftp_transaction_factory_;
+ }
+
// Gets the cookie store for this context.
net::CookieMonster* cookie_store() { return cookie_store_; }
@@ -72,6 +79,7 @@
// subclasses.
net::ProxyService* proxy_service_;
net::HttpTransactionFactory* http_transaction_factory_;
+ net::FtpTransactionFactory* ftp_transaction_factory_;
net::CookieMonster* cookie_store_;
net::CookiePolicy cookie_policy_;
net::FtpAuthCache ftp_auth_cache_;
« no previous file with comments | « net/net_lib.scons ('k') | net/url_request/url_request_ftp_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698