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

Unified Diff: net/base/network_change_notifier_mac.h

Issue 2896203003: [NetworkChangeNotifier] Return more specific network connection types (ethernet/wifi) on OSX (Closed)
Patch Set: Address issues from PS5 Created 3 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
« no previous file with comments | « net/base/network_change_notifier.cc ('k') | net/base/network_change_notifier_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier_mac.h
diff --git a/net/base/network_change_notifier_mac.h b/net/base/network_change_notifier_mac.h
index 9acb47c57971c4b423748a5763d9c252ebd9e4d2..34b1266a12f27511ebb3575608af0e61d9d38975 100644
--- a/net/base/network_change_notifier_mac.h
+++ b/net/base/network_change_notifier_mac.h
@@ -48,6 +48,9 @@ class NetworkChangeNotifierMac: public NetworkChangeNotifier {
private:
class DnsConfigServiceThread;
+ // Called on the main thread on startup, afterwards on the notifier thread.
+ static ConnectionType CalculateConnectionType(SCNetworkConnectionFlags flags);
+
// Methods directly called by the NetworkConfigWatcherMac::Delegate:
void StartReachabilityNotifications();
void SetDynamicStoreNotificationKeys(SCDynamicStoreRef store);
« no previous file with comments | « net/base/network_change_notifier.cc ('k') | net/base/network_change_notifier_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698