shill: tighten up constness of PropertyStore

BUG=chromium-os:20543
TEST=unittest

Change-Id: Ifa86f82a883b3c3ec61ce10f8d82564b9a036b04
Reviewed-on: http://gerrit.chromium.org/gerrit/7901
Tested-by: mukesh agrawal <quiche@chromium.org>
Reviewed-by: Chris Masone <cmasone@chromium.org>
diff --git a/property_store.h b/property_store.h
index c452d79..9c82450 100644
--- a/property_store.h
+++ b/property_store.h
@@ -23,7 +23,7 @@
   PropertyStore();
   virtual ~PropertyStore();
 
-  virtual bool Contains(const std::string& property);
+  virtual bool Contains(const std::string& property) const;
 
   // Methods to allow the setting, by name, of properties stored in this object.
   // The property names are declared in chromeos/dbus/service_constants.h,
@@ -69,17 +69,17 @@
                                  Error *error);
 
   // Accessors for iterators over property maps.
-  PropertyConstIterator<bool> GetBoolPropertiesIter();
-  PropertyConstIterator<int16> GetInt16PropertiesIter();
-  PropertyConstIterator<int32> GetInt32PropertiesIter();
-  PropertyConstIterator<std::string> GetStringPropertiesIter();
-  PropertyConstIterator<Stringmap> GetStringmapPropertiesIter();
-  PropertyConstIterator<Stringmaps> GetStringmapsPropertiesIter();
-  PropertyConstIterator<StrIntPair> GetStrIntPairPropertiesIter();
-  PropertyConstIterator<Strings> GetStringsPropertiesIter();
-  PropertyConstIterator<uint8> GetUint8PropertiesIter();
-  PropertyConstIterator<uint16> GetUint16PropertiesIter();
-  PropertyConstIterator<uint32> GetUint32PropertiesIter();
+  PropertyConstIterator<bool> GetBoolPropertiesIter() const;
+  PropertyConstIterator<int16> GetInt16PropertiesIter() const;
+  PropertyConstIterator<int32> GetInt32PropertiesIter() const;
+  PropertyConstIterator<std::string> GetStringPropertiesIter() const;
+  PropertyConstIterator<Stringmap> GetStringmapPropertiesIter() const;
+  PropertyConstIterator<Stringmaps> GetStringmapsPropertiesIter() const;
+  PropertyConstIterator<StrIntPair> GetStrIntPairPropertiesIter() const;
+  PropertyConstIterator<Strings> GetStringsPropertiesIter() const;
+  PropertyConstIterator<uint8> GetUint8PropertiesIter() const;
+  PropertyConstIterator<uint16> GetUint16PropertiesIter() const;
+  PropertyConstIterator<uint32> GetUint32PropertiesIter() const;
 
   void RegisterBool(const std::string &name, bool *prop);
   void RegisterConstBool(const std::string &name, const bool *prop);