| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_PLATFORM_KEYS_POLICY_HANDLERS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_PLATFORM_KEYS_POLICY_HANDLERS_H_ |
| 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/values.h" |
| 10 #include "components/policy/core/browser/configuration_policy_handler.h" |
| 11 |
| 12 namespace chromeos { |
| 13 |
| 14 class KeyPermissionsPolicyHandler |
| 15 : public policy::SchemaValidatingPolicyHandler { |
| 16 public: |
| 17 explicit KeyPermissionsPolicyHandler(const policy::Schema& chrome_schema); |
| 18 ~KeyPermissionsPolicyHandler() override; |
| 19 |
| 20 // ConfigurationPolicyHandler: |
| 21 void ApplyPolicySettings(const policy::PolicyMap& policies, |
| 22 PrefValueMap* prefs) override; |
| 23 |
| 24 private: |
| 25 DISALLOW_COPY_AND_ASSIGN(KeyPermissionsPolicyHandler); |
| 26 }; |
| 27 |
| 28 } // namespace chromeos |
| 29 |
| 30 #endif // CHROME_BROWSER_CHROMEOS_PLATFORM_KEYS_POLICY_HANDLERS_H_ |
| OLD | NEW |