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

Unified Diff: chromeos/network/network_change_notifier_chromeos.h

Issue 12927009: NetworkChangeNotifierChromeos: Invalidate network resources on system resume (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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
« no previous file with comments | « no previous file | chromeos/network/network_change_notifier_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_change_notifier_chromeos.h
diff --git a/chromeos/network/network_change_notifier_chromeos.h b/chromeos/network/network_change_notifier_chromeos.h
index c0dc28e251ec7c7551b1b219949eb2ab8260b8ee..6bd8edeb6e32742d77901b868e43414cc534b86a 100644
--- a/chromeos/network/network_change_notifier_chromeos.h
+++ b/chromeos/network/network_change_notifier_chromeos.h
@@ -11,6 +11,7 @@
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "chromeos/chromeos_export.h"
+#include "chromeos/dbus/power_manager_client.h"
#include "chromeos/network/network_state_handler_observer.h"
#include "net/base/network_change_notifier.h"
@@ -18,6 +19,7 @@ namespace chromeos {
class CHROMEOS_EXPORT NetworkChangeNotifierChromeos
: public net::NetworkChangeNotifier,
+ public chromeos::PowerManagerClient::Observer,
public chromeos::NetworkStateHandlerObserver {
public:
NetworkChangeNotifierChromeos();
@@ -33,6 +35,9 @@ class CHROMEOS_EXPORT NetworkChangeNotifierChromeos
virtual net::NetworkChangeNotifier::ConnectionType
GetCurrentConnectionType() const OVERRIDE;
+ // PowerManagerClient::Observer overrides.
+ virtual void SystemResumed(const base::TimeDelta& sleep_duration) OVERRIDE;
+
// NetworkStateHandlerObserver overrides.
virtual void DefaultNetworkChanged(
const chromeos::NetworkState* default_network) OVERRIDE;
« no previous file with comments | « no previous file | chromeos/network/network_change_notifier_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698