[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.h b/ethernet_service.h
index 53cc021..7c24cdc 100644
--- a/ethernet_service.h
+++ b/ethernet_service.h
@@ -18,6 +18,8 @@
EthernetService(ControlInterface *control_interface,
EventDispatcher *dispatcher,
const EthernetRefPtr &device,
+ const ProfileRefPtr &profile,
+ const EntryRefPtr &entry,
const std::string& name);
~EthernetService();
void Connect();