summaryrefslogtreecommitdiff
path: root/profile.h
diff options
context:
space:
mode:
authormukesh agrawal <quiche@chromium.org>2011-09-16 16:16:36 -0700
committermukesh agrawal <quiche@chromium.org>2011-09-19 13:35:40 -0700
commitde29fa8d95092f28548b5e4537a6c61e21ae760b (patch)
tree5227da84f7a2cea8d2c29d0f2aa83c6f3c44fbee /profile.h
parentaa48237c7b263ae44f94e3631ac9c9c18b0467df (diff)
downloadshill-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/profile.h b/profile.h
index cc9fb637..45d43960 100644
--- a/profile.h
+++ b/profile.h
@@ -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,