Chromium Code Reviews| Index: chrome/browser/policy/device_policy_cache.cc |
| diff --git a/chrome/browser/policy/device_policy_cache.cc b/chrome/browser/policy/device_policy_cache.cc |
| index 2789b05e0764b48333f65de68e3f8cd156787134..bb9f5339146baade3d10c68e1751dbd27db7f0dd 100644 |
| --- a/chrome/browser/policy/device_policy_cache.cc |
| +++ b/chrome/browser/policy/device_policy_cache.cc |
| @@ -269,12 +269,13 @@ void DevicePolicyCache::DecodeDevicePolicy( |
| const em::ChromeDeviceSettingsProto& policy, |
| PolicyMap* mandatory, |
| PolicyMap* recommended) { |
| - if (policy.has_policy_refresh_rate()) { |
| + if (policy.has_device_policy_refresh_rate()) { |
| const em::DevicePolicyRefreshRateProto container = |
| - policy.policy_refresh_rate(); |
| - if (container.has_policy_refresh_rate()) { |
| - mandatory->Set(kPolicyPolicyRefreshRate, |
| - DecodeIntegerValue(container.policy_refresh_rate())); |
| + policy.device_policy_refresh_rate(); |
| + if (container.has_device_policy_refresh_rate()) { |
| + mandatory->Set(kPolicyDevicePolicyRefreshRate, |
| + DecodeIntegerValue( |
| + container.device_policy_refresh_rate())); |
|
Mattias Nissler (ping if slow)
2011/05/16 14:28:19
It seems you didn't change the .proto, so I guess
sfeuz
2011/05/17 14:27:42
Done.
|
| } |
| } |