diff options
author | mukesh agrawal <quiche@chromium.org> | 2011-09-16 16:16:36 -0700 |
---|---|---|
committer | mukesh agrawal <quiche@chromium.org> | 2011-09-19 13:35:40 -0700 |
commit | de29fa8d95092f28548b5e4537a6c61e21ae760b (patch) | |
tree | 5227da84f7a2cea8d2c29d0f2aa83c6f3c44fbee /profile.h | |
parent | aa48237c7b263ae44f94e3631ac9c9c18b0467df (diff) | |
download | shill-de29fa8d95092f28548b5e4537a6c61e21ae760b.tar.gz |
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>
Diffstat (limited to 'profile.h')
-rw-r--r-- | profile.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -50,7 +50,8 @@ class Profile : public base::RefCounted<Profile> { std::string GetRpcIdentifier(); - PropertyStore *store() { return &store_; } + PropertyStore *mutable_store() { return &store_; } + const PropertyStore &store() const { return store_; } // Begin managing the persistence of |service|. // Returns true if |service| is new to this profile and was added, |