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

Unified Diff: net/http/http_network_layer.h

Issue 11572039: Make HttpNetworkLayer subscribe to power events on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « no previous file | net/http/http_network_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_layer.h
diff --git a/net/http/http_network_layer.h b/net/http/http_network_layer.h
index 52e5ad602235f976842b063196231afdd23dca9b..f558453687926856d4680fa52ad40c1c2e6f8c04 100644
--- a/net/http/http_network_layer.h
+++ b/net/http/http_network_layer.h
@@ -9,7 +9,6 @@
#include "base/memory/ref_counted.h"
pauljensen 2012/12/14 14:19:31 While you're in this file, you could add: #include
Philippe 2012/12/14 14:34:22 Sure, done.
#include "base/memory/scoped_ptr.h"
-#include "base/system_monitor/system_monitor.h"
#include "base/threading/non_thread_safe.h"
#include "net/base/net_export.h"
#include "net/http/http_transaction_factory.h"
@@ -20,7 +19,6 @@ class HttpNetworkSession;
class NET_EXPORT HttpNetworkLayer
: public HttpTransactionFactory,
- public base::SystemMonitor::PowerObserver,
NON_EXPORTED_BASE(public base::NonThreadSafe) {
public:
// Construct a HttpNetworkLayer with an existing HttpNetworkSession which
@@ -46,13 +44,8 @@ class NET_EXPORT HttpNetworkLayer
virtual HttpCache* GetCache() OVERRIDE;
virtual HttpNetworkSession* GetSession() OVERRIDE;
- // base::SystemMonitor::PowerObserver methods:
- virtual void OnSuspend() OVERRIDE;
- virtual void OnResume() OVERRIDE;
-
private:
const scoped_refptr<HttpNetworkSession> session_;
pauljensen 2012/12/14 14:19:31 While you're in this file, you could add: DISALLOW
Philippe 2012/12/14 14:34:22 Done.
- bool suspended_;
};
} // namespace net
« no previous file with comments | « no previous file | net/http/http_network_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698