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

Unified Diff: net/base/network_config_watcher_mac.h

Issue 7006015: Implement NetworkChangeNotifier::IsCurrentlyOffline() for Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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/base/network_config_watcher_mac.h
diff --git a/net/base/network_config_watcher_mac.h b/net/base/network_config_watcher_mac.h
index 5193a98d5811315f74db71784c89bd7d13379da7..33bb3a691452ae2138c07d09e6832770e62518fc 100644
--- a/net/base/network_config_watcher_mac.h
+++ b/net/base/network_config_watcher_mac.h
@@ -35,6 +35,10 @@ class NetworkConfigWatcherMac {
// Called when one of the notification keys has changed.
// Will be called on the notifier thread.
virtual void OnNetworkConfigChange(CFArrayRef changed_keys) = 0;
+
+ // Called when the notifier thread is being destroyed.
+ // Will be called on the notifier thread.
+ virtual void CleanUp() {}
};
explicit NetworkConfigWatcherMac(Delegate* delegate);

Powered by Google App Engine
This is Rietveld 408576698