shill: Implement more of Profile DBus interface
Return a DBus path from Manager.GetActiveProfile().
Implement the "Profiles" property on the manager Manager.
Fix the "Entries" property on the Profile to only report group
identifiers that correspond to technologies (not ipconfig,
devices, etc).
Fix the "Services" Profile property, to only appear as a property
of the active profile.
BUG=chromium-os:25538, chromium-os:23702
TEST=Manual: Running "list-profiles" from the flimflam test suite now
works correctly.
Change-Id: I3120fe54f02662822186ac033fab0b3566449705
Reviewed-on: https://gerrit.chromium.org/gerrit/14904
Commit-Ready: Paul Stewart <pstew@chromium.org>
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
diff --git a/mock_service.cc b/mock_service.cc
index 1e1aca2..d4d3888 100644
--- a/mock_service.cc
+++ b/mock_service.cc
@@ -42,7 +42,7 @@
MockService::~MockService() {}
bool MockService::FauxSave(StoreInterface *store) {
- return store->SetString(UniqueName(), "dummy", "dummy");
+ return store->SetString(GetStorageIdentifier(), "dummy", "dummy");
}
} // namespace shill