shill: Remove GLibInterface and mock out GLib directly.
The interface didn't provide any useful abstraction in this case.
BUG=chromium-os:16899
TEST=unit tests
Change-Id: I76fcdd757ab7c20e1904ac025dcf218f6eba50cc
Reviewed-on: http://gerrit.chromium.org/gerrit/3104
Tested-by: Darin Petkov <petkov@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
diff --git a/dhcp_config.h b/dhcp_config.h
index bf9ff82..9cdf535 100644
--- a/dhcp_config.h
+++ b/dhcp_config.h
@@ -18,7 +18,7 @@
class DHCPConfig;
class DHCPProvider;
class DHCPProxyInterface;
-class GLibInterface;
+class GLib;
typedef scoped_refptr<DHCPConfig> DHCPConfigRefPtr;
@@ -28,7 +28,7 @@
DHCPConfig(DHCPProvider *provider,
const std::string &device_name,
- GLibInterface *glib);
+ GLib *glib);
virtual ~DHCPConfig();
// Inherited from IPConfig.
@@ -121,7 +121,7 @@
// Root file path, used for testing.
FilePath root_;
- GLibInterface *glib_;
+ GLib *glib_;
DISALLOW_COPY_AND_ASSIGN(DHCPConfig);
};