shill: Support for GSM network scanning.
This is mostly placeholder code since synchronous calls will cause crashes due
to timeouts.
BUG=chromium-os:19805
TEST=unit tests
Change-Id: I7ad07d6274b19b39d7955ee256c6928c9f1ce5a1
Reviewed-on: http://gerrit.chromium.org/gerrit/7895
Commit-Ready: Darin Petkov <petkov@chromium.org>
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Darin Petkov <petkov@chromium.org>
diff --git a/property_store.cc b/property_store.cc
index d2e7454..9fb61ba 100644
--- a/property_store.cc
+++ b/property_store.cc
@@ -229,6 +229,17 @@
StringmapAccessor(new ConstPropertyAccessor<Stringmap>(prop));
}
+void PropertyStore::RegisterStringmaps(const string &name, Stringmaps *prop) {
+ stringmaps_properties_[name] =
+ StringmapsAccessor(new PropertyAccessor<Stringmaps>(prop));
+}
+
+void PropertyStore::RegisterConstStringmaps(const string &name,
+ const Stringmaps *prop) {
+ stringmaps_properties_[name] =
+ StringmapsAccessor(new ConstPropertyAccessor<Stringmaps>(prop));
+}
+
void PropertyStore::RegisterStrings(const string &name, Strings *prop) {
strings_properties_[name] =
StringsAccessor(new PropertyAccessor<Strings>(prop));