| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/chromeos/platform_keys/key_permissions_policy_handler.h
" | 5 #include "chrome/browser/chromeos/platform_keys/key_permissions_policy_handler.h
" |
| 6 | 6 |
| 7 #include "components/policy/core/common/schema.h" | 7 #include "components/policy/core/common/schema.h" |
| 8 #include "policy/policy_constants.h" | 8 #include "components/policy/policy_constants.h" |
| 9 | 9 |
| 10 namespace chromeos { | 10 namespace chromeos { |
| 11 | 11 |
| 12 KeyPermissionsPolicyHandler::KeyPermissionsPolicyHandler( | 12 KeyPermissionsPolicyHandler::KeyPermissionsPolicyHandler( |
| 13 const policy::Schema& chrome_schema) | 13 const policy::Schema& chrome_schema) |
| 14 : policy::SchemaValidatingPolicyHandler( | 14 : policy::SchemaValidatingPolicyHandler( |
| 15 policy::key::kKeyPermissions, | 15 policy::key::kKeyPermissions, |
| 16 chrome_schema.GetKnownProperty(policy::key::kKeyPermissions), | 16 chrome_schema.GetKnownProperty(policy::key::kKeyPermissions), |
| 17 policy::SCHEMA_ALLOW_UNKNOWN) { | 17 policy::SCHEMA_ALLOW_UNKNOWN) { |
| 18 } | 18 } |
| 19 | 19 |
| 20 void KeyPermissionsPolicyHandler::ApplyPolicySettings( | 20 void KeyPermissionsPolicyHandler::ApplyPolicySettings( |
| 21 const policy::PolicyMap& /* policies */, | 21 const policy::PolicyMap& /* policies */, |
| 22 PrefValueMap* /* prefs */) { | 22 PrefValueMap* /* prefs */) { |
| 23 } | 23 } |
| 24 | 24 |
| 25 } // namespace chromeos | 25 } // namespace chromeos |
| OLD | NEW |