shill: Connect Ethernet Device to DHCPConfig.

Most of the implementation is in the base Device class.

BUG=chromium-os:16794
TEST=unit test

Change-Id: I583761f7e54c88b043ce4343cb43f8298aaedf8b
Reviewed-on: http://gerrit.chromium.org/gerrit/2949
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
diff --git a/ethernet.h b/ethernet.h
index 09e0ee5..fbcacd9 100644
--- a/ethernet.h
+++ b/ethernet.h
@@ -15,21 +15,23 @@
 
 class Ethernet : public Device {
  public:
-  explicit Ethernet(ControlInterface *control_interface,
-                    EventDispatcher *dispatcher,
-                    Manager *manager,
-                    const std::string& link_name,
-                    int interface_index);
+  Ethernet(ControlInterface *control_interface,
+           EventDispatcher *dispatcher,
+           Manager *manager,
+           const std::string& link_name,
+           int interface_index);
   ~Ethernet();
+
   void Start();
   void Stop();
   bool TechnologyIs(Device::Technology type);
-  void LinkEvent(unsigned flags, unsigned change);
-  bool link_up_;
+  void LinkEvent(unsigned int flags, unsigned int change);
 
  private:
   bool service_registered_;
   ServiceRefPtr service_;
+  bool link_up_;
+
   DISALLOW_COPY_AND_ASSIGN(Ethernet);
 };