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

Unified Diff: net/url_request/url_request_job.h

Issue 10959020: SystemMonitor refactoring: move power state monitor into a separate class called PowerMonitor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: make HWNDMessageHandler as a friend class of PowerMonitor Created 8 years, 2 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
Index: net/url_request/url_request_job.h
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h
index 0af7fa1e446176eb0df9304a562f7a230ff5ce1d..588a53c83716f8ae6dba432059d6e507731e69d2 100644
--- a/net/url_request/url_request_job.h
+++ b/net/url_request/url_request_job.h
@@ -11,7 +11,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "base/system_monitor/system_monitor.h"
+#include "base/power_monitor/power_monitor.h"
#include "googleurl/src/gurl.h"
#include "net/base/filter.h"
#include "net/base/host_port_pair.h"
@@ -37,7 +37,7 @@ class URLRequestStatus;
class X509Certificate;
class NET_EXPORT URLRequestJob : public base::RefCounted<URLRequestJob>,
- public base::SystemMonitor::PowerObserver {
+ public base::PowerMonitor::PowerObserver {
public:
explicit URLRequestJob(URLRequest* request,
NetworkDelegate* network_delegate);
@@ -186,7 +186,7 @@ class NET_EXPORT URLRequestJob : public base::RefCounted<URLRequestJob>,
// See url_request.h for details.
virtual HostPortPair GetSocketAddress() const;
- // base::SystemMonitor::PowerObserver methods:
+ // base::PowerMonitor::Observer methods:
// We invoke URLRequestJob::Kill on suspend (crbug.com/4606).
virtual void OnSuspend() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698