[shill] Back property storage in Service objects with Entry objects

Much of Shill Service state is persisted to disk, by creating an Entry
in a Profile.  We should store this info just once, so that we don't
have to worry about keeping multiple data stores in sync.  This is a
first step in that direction.

BUG=chromium-os:17436
TEST=unit tests

Change-Id: If94db2a38a7d79c56e2c746b2f069cfd7ab4bf65
Reviewed-on: http://gerrit.chromium.org/gerrit/3876
Tested-by: Chris Masone <cmasone@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
diff --git a/ethernet_service.cc b/ethernet_service.cc
index b8b82a6..4d26593 100644
--- a/ethernet_service.cc
+++ b/ethernet_service.cc
@@ -17,8 +17,10 @@
 #include "shill/control_interface.h"
 #include "shill/device.h"
 #include "shill/device_info.h"
+#include "shill/entry.h"
 #include "shill/ethernet.h"
 #include "shill/manager.h"
+#include "shill/profile.h"
 #include "shill/shill_event.h"
 
 using std::string;
@@ -28,8 +30,10 @@
 EthernetService::EthernetService(ControlInterface *control_interface,
                                  EventDispatcher *dispatcher,
                                  const EthernetRefPtr &device,
+                                 const ProfileRefPtr &profile,
+                                 const EntryRefPtr &entry,
                                  const string &name)
-    : Service(control_interface, dispatcher, name),
+    : Service(control_interface, dispatcher, profile, entry, name),
       ethernet_(device),
       type_(flimflam::kTypeEthernet) {
   set_auto_connect(true);