diff options
Diffstat (limited to 'net/http/http_transaction_factory.h')
-rw-r--r-- | net/http/http_transaction_factory.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/http/http_transaction_factory.h b/net/http/http_transaction_factory.h index 90d36e9..3d37ffe 100644 --- a/net/http/http_transaction_factory.h +++ b/net/http/http_transaction_factory.h @@ -10,8 +10,10 @@ namespace net { class HttpCache; +class HttpNetworkSession; class HttpTransaction; + // An interface to a class that can create HttpTransaction objects. class HttpTransactionFactory { public: @@ -24,6 +26,9 @@ class HttpTransactionFactory { // Returns the associated cache if any (may be NULL). virtual HttpCache* GetCache() = 0; + // Returns the associated HttpNetworkSession used by new transactions. + virtual HttpNetworkSession* GetSession() = 0; + // Suspends the creation of new transactions. If |suspend| is false, creation // of new transactions is resumed. virtual void Suspend(bool suspend) = 0; |