OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/policy/device_policy_cache.h" | 5 #include "chrome/browser/policy/device_policy_cache.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 } | 718 } |
719 policies->Set(key::kDeviceStartUpUrls, | 719 policies->Set(key::kDeviceStartUpUrls, |
720 POLICY_LEVEL_MANDATORY, | 720 POLICY_LEVEL_MANDATORY, |
721 POLICY_SCOPE_MACHINE, | 721 POLICY_SCOPE_MACHINE, |
722 urls); | 722 urls); |
723 } | 723 } |
724 } | 724 } |
725 | 725 |
726 if (policy.has_system_timezone()) { | 726 if (policy.has_system_timezone()) { |
727 if (policy.system_timezone().has_timezone()) { | 727 if (policy.system_timezone().has_timezone()) { |
728 policies->Set(key::kDeviceTimezone, | 728 policies->Set(key::kSystemTimezone, |
729 POLICY_LEVEL_MANDATORY, | 729 POLICY_LEVEL_MANDATORY, |
730 POLICY_SCOPE_MACHINE, | 730 POLICY_SCOPE_MACHINE, |
731 Value::CreateStringValue( | 731 Value::CreateStringValue( |
732 policy.system_timezone().timezone())); | 732 policy.system_timezone().timezone())); |
733 } | 733 } |
734 } | 734 } |
735 } | 735 } |
736 | 736 |
737 } // namespace policy | 737 } // namespace policy |
OLD | NEW |