X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcomponents%2Fpolicy%2Fcore%2Fcommon%2Fpolicy_service.h;h=eae58d56f64088d17ebfaf248b714c4604468ff1;hb=1afa4dd80ef85af7c90efaea6959db1d92330844;hp=dbc09ae684ead39095fe971c08471a4cce1e5b3b;hpb=90762837333c13ccf56f2ad88e4481fc71e8d281;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/components/policy/core/common/policy_service.h b/src/components/policy/core/common/policy_service.h index dbc09ae..eae58d5 100644 --- a/src/components/policy/core/common/policy_service.h +++ b/src/components/policy/core/common/policy_service.h @@ -88,7 +88,7 @@ class POLICY_EXPORT PolicyChangeRegistrar : public PolicyService::Observer { PolicyChangeRegistrar(PolicyService* policy_service, const PolicyNamespace& ns); - virtual ~PolicyChangeRegistrar(); + ~PolicyChangeRegistrar() override; // Will invoke |callback| whenever |policy_name| changes its value, as long // as this registrar exists. @@ -97,9 +97,9 @@ class POLICY_EXPORT PolicyChangeRegistrar : public PolicyService::Observer { void Observe(const std::string& policy_name, const UpdateCallback& callback); // Implementation of PolicyService::Observer: - virtual void OnPolicyUpdated(const PolicyNamespace& ns, - const PolicyMap& previous, - const PolicyMap& current) OVERRIDE; + void OnPolicyUpdated(const PolicyNamespace& ns, + const PolicyMap& previous, + const PolicyMap& current) override; private: typedef std::map CallbackMap;