diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-22 19:00:58 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-22 19:00:58 +0000 |
commit | 8523ba5fab2b52f359b644fea1b9c2b3ea078260 (patch) | |
tree | f77d449eb28f0fa1b2f0bc0bf8006751423be59f /net/http/http_network_layer.h | |
parent | 653f4ec848607162cd842a3dbcb6d5f18f72bcba (diff) | |
download | chromium_src-8523ba5fab2b52f359b644fea1b9c2b3ea078260.zip chromium_src-8523ba5fab2b52f359b644fea1b9c2b3ea078260.tar.gz chromium_src-8523ba5fab2b52f359b644fea1b9c2b3ea078260.tar.bz2 |
Kill URLRequestJobTracker.
BUG=81160
TEST=none
Review URL: http://codereview.chromium.org/7043007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86241 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_layer.h')
-rw-r--r-- | net/http/http_network_layer.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/http/http_network_layer.h b/net/http/http_network_layer.h index 35652c3..448ae8d 100644 --- a/net/http/http_network_layer.h +++ b/net/http/http_network_layer.h @@ -10,6 +10,7 @@ #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" +#include "base/system_monitor/system_monitor.h" #include "base/threading/non_thread_safe.h" #include "net/base/net_api.h" #include "net/http/http_transaction_factory.h" @@ -31,6 +32,7 @@ class SSLConfigService; class SSLHostInfoFactory; class NET_API HttpNetworkLayer : public HttpTransactionFactory, + public base::SystemMonitor::PowerObserver, NON_EXPORTED_BASE(public base::NonThreadSafe) { public: // Construct a HttpNetworkLayer with an existing HttpNetworkSession which @@ -60,7 +62,10 @@ class NET_API HttpNetworkLayer : public HttpTransactionFactory, virtual int CreateTransaction(scoped_ptr<HttpTransaction>* trans); virtual HttpCache* GetCache(); virtual HttpNetworkSession* GetSession(); - virtual void Suspend(bool suspend); + + // base::SystemMonitor::PowerObserver methods: + virtual void OnSuspend(); + virtual void OnResume(); private: const scoped_refptr<HttpNetworkSession> session_; |