From de29fa8d95092f28548b5e4537a6c61e21ae760b Mon Sep 17 00:00:00 2001 From: mukesh agrawal Date: Fri, 16 Sep 2011 16:16:36 -0700 Subject: 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 Reviewed-by: Chris Masone --- profile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'profile.h') 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 { 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, -- cgit v1.2.3