[shill] Make profiles backed with StoreInterfaces
Rely on persistence of data in StoreInterface to maintain
Service/Device/IPConfig info for entities that are not
currently active, instead of maintaining lists in Profile
objects themselves.
BUG=chromium-os:17253
TEST=unit, run on device
Change-Id: I206f44ddf16c584354f8fcadb57032f047f33d0a
Reviewed-on: http://gerrit.chromium.org/gerrit/10024
Commit-Ready: Chris Masone <cmasone@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/mock_manager.h b/mock_manager.h
index cf6c951..022180b 100644
--- a/mock_manager.h
+++ b/mock_manager.h
@@ -24,7 +24,7 @@
MOCK_CONST_METHOD0(store, const PropertyStore&(void));
MOCK_METHOD1(RegisterService, void(const ServiceRefPtr &to_manage));
MOCK_METHOD1(UpdateService, void(const ServiceConstRefPtr &to_update));
- MOCK_METHOD1(DeregisterService, void(const ServiceConstRefPtr &to_forget));
+ MOCK_METHOD1(DeregisterService, void(const ServiceRefPtr &to_forget));
private:
DISALLOW_COPY_AND_ASSIGN(MockManager);