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

Unified Diff: net/base/network_change_notifier_linux.h

Issue 11359141: Use Netlink instead of NetworkManager (via D-bus) to monitor network (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address szym's second round of unittest comments 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
« no previous file with comments | « net/base/address_tracker_linux_unittest.cc ('k') | net/base/network_change_notifier_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier_linux.h
diff --git a/net/base/network_change_notifier_linux.h b/net/base/network_change_notifier_linux.h
index 1b3f376fb0b695b73fa816163ab7d791433a3824..6e108549763452f7596b4c7b9328f2c718cf99a0 100644
--- a/net/base/network_change_notifier_linux.h
+++ b/net/base/network_change_notifier_linux.h
@@ -11,10 +11,6 @@
#include "net/base/net_export.h"
#include "net/base/network_change_notifier.h"
-namespace dbus {
-class Bus;
-}
-
namespace net {
class NET_EXPORT_PRIVATE NetworkChangeNotifierLinux
@@ -22,13 +18,10 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierLinux
public:
static NetworkChangeNotifierLinux* Create();
- // Unittests inject a mock bus.
- static NetworkChangeNotifierLinux* CreateForTest(dbus::Bus* bus);
-
private:
class Thread;
- explicit NetworkChangeNotifierLinux(dbus::Bus* bus);
+ NetworkChangeNotifierLinux();
virtual ~NetworkChangeNotifierLinux();
// NetworkChangeNotifier:
« no previous file with comments | « net/base/address_tracker_linux_unittest.cc ('k') | net/base/network_change_notifier_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698