Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: chrome/browser/policy/device_policy_cache.cc

Issue 10829449: Clarified description of the timezone policy. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Renamed DeviceTimezone to SystemTimezone. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/app/policy/policy_templates.json ('k') | chrome/browser/policy/proto/chrome_device_policy.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698