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

Unified Diff: net/base/network_change_notifier_linux.cc

Issue 10012006: Remove unused code and exclude unused files on Chrome OS too. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unittest too Created 8 years, 8 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/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier_linux.cc
diff --git a/net/base/network_change_notifier_linux.cc b/net/base/network_change_notifier_linux.cc
index 92eec2d0044f115329376692e170b8b86722865e..e5a78b8c233269ea43409589a6aab92226fd1185 100644
--- a/net/base/network_change_notifier_linux.cc
+++ b/net/base/network_change_notifier_linux.cc
@@ -384,19 +384,7 @@ void NetworkChangeNotifierLinux::Thread::ListenForNotifications() {
while (rv > 0) {
if (HandleNetlinkMessage(buf, rv)) {
VLOG(1) << "Detected IP address changes.";
-#if defined(OS_CHROMEOS)
- // TODO(oshima): chromium-os:8285 - introduced artificial delay to
- // work around the issue of network load issue after connection
- // restored. See the bug for more details.
- // This should be removed once this bug is properly fixed.
- const int kObserverNotificationDelayMS = 200;
- message_loop()->PostDelayedTask(
- FROM_HERE,
- base::Bind(&NetworkChangeNotifier::NotifyObserversOfIPAddressChange),
- kObserverNotificationDelayMS);
-#else
NotifyObserversOfIPAddressChange();
-#endif
}
rv = ReadNotificationMessage(buf, arraysize(buf));
}
« no previous file with comments | « net/base/network_change_notifier.cc ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698