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

Unified Diff: net/base/network_config_watcher_mac.cc

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_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_config_watcher_mac.cc
diff --git a/net/base/network_config_watcher_mac.cc b/net/base/network_config_watcher_mac.cc
index 24eaee9015f3cd10303ce130920a63f14623bc02..bc46c120640c98f51f79e5038c43eef0c44a61e6 100644
--- a/net/base/network_config_watcher_mac.cc
+++ b/net/base/network_config_watcher_mac.cc
@@ -67,10 +67,7 @@ NetworkConfigWatcherMacThread::~NetworkConfigWatcherMacThread() {
}
void NetworkConfigWatcherMacThread::Init() {
- // Disallow IO to make sure NetworkConfigWatcherMacThread's helper thread does
- // not perform blocking operations.
- base::ThreadRestrictions::SetIOAllowed(false);
-
+ base::ThreadRestrictions::SetIOAllowed(true);
delegate_->Init();
// TODO(willchan): Look to see if there's a better signal for when it's ok to
« no previous file with comments | « net/base/network_change_notifier_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698