| 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_;
|
|
|