Index: chrome/browser/policy/configuration_policy_pref_store.h |
diff --git a/chrome/browser/policy/configuration_policy_pref_store.h b/chrome/browser/policy/configuration_policy_pref_store.h |
index 820306aa74fdf0c4374d4e420639faf85557be28..1f918013e4e7271a92eea773fe012a324ad15e03 100644 |
--- a/chrome/browser/policy/configuration_policy_pref_store.h |
+++ b/chrome/browser/policy/configuration_policy_pref_store.h |
@@ -42,15 +42,17 @@ class ConfigurationPolicyPrefStore : public PrefStore, |
virtual void Apply(ConfigurationPolicyType setting, Value* value); |
// Creates a ConfigurationPolicyPrefStore that reads managed platform policy. |
- static ConfigurationPolicyPrefStore* CreateManagedPlatformPolicyPrefStore(); |
+ static scoped_refptr<ConfigurationPolicyPrefStore> |
Mattias Nissler (ping if slow)
2010/12/20 14:50:02
This is not needed. If the function name is Create
battre
2010/12/21 18:51:59
Done.
|
+ CreateManagedPlatformPolicyPrefStore(); |
// Creates a ConfigurationPolicyPrefStore that supplies policy from |
// the device management server. |
- static ConfigurationPolicyPrefStore* CreateDeviceManagementPolicyPrefStore( |
- Profile* profile); |
+ static scoped_refptr<ConfigurationPolicyPrefStore> |
+ CreateDeviceManagementPolicyPrefStore(Profile* profile); |
// Creates a ConfigurationPolicyPrefStore that reads recommended policy. |
- static ConfigurationPolicyPrefStore* CreateRecommendedPolicyPrefStore(); |
+ static scoped_refptr<ConfigurationPolicyPrefStore> |
+ CreateRecommendedPolicyPrefStore(); |
// Returns the default policy definition list for Chrome. |
static const ConfigurationPolicyProvider::PolicyDefinitionList* |