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

Unified Diff: net/base/network_change_notifier_linux.cc

Issue 11360108: Start calculating new combined NetworkChangeNotifier signal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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_change_notifier_linux.cc
diff --git a/net/base/network_change_notifier_linux.cc b/net/base/network_change_notifier_linux.cc
index a3753a96c1e27df910e751ae88a95d21ddbedf3f..e491bd82f5a0a220b7fa328056b3dba44ff04fc9 100644
--- a/net/base/network_change_notifier_linux.cc
+++ b/net/base/network_change_notifier_linux.cc
@@ -306,7 +306,8 @@ NetworkChangeNotifierLinux* NetworkChangeNotifierLinux::CreateForTest(
}
NetworkChangeNotifierLinux::NetworkChangeNotifierLinux(dbus::Bus* bus)
- : notifier_thread_(new Thread(bus)) {
+ : NetworkChangeNotifier(1500, 500, 1500, 500),
szym 2012/11/26 22:17:04 Just to be clear. I suggest this would be: namesp
+ notifier_thread_(new Thread(bus)) {
// We create this notifier thread because the notification implementation
// needs a MessageLoopForIO, and there's no guarantee that
// MessageLoop::current() meets that criterion.

Powered by Google App Engine
This is Rietveld 408576698