Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / chromeos / platform_keys / key_permissions_policy_handler.h
blob67d6aac5fe3c2dbb4c823fb7f52db1688c5bcad2
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.
5 #ifndef CHROME_BROWSER_CHROMEOS_PLATFORM_KEYS_KEY_PERMISSIONS_POLICY_HANDLER_H_
6 #define CHROME_BROWSER_CHROMEOS_PLATFORM_KEYS_KEY_PERMISSIONS_POLICY_HANDLER_H_
8 #include "base/macros.h"
9 #include "components/policy/core/browser/configuration_policy_handler.h"
11 namespace policy {
12 class Schema;
15 namespace chromeos {
17 class KeyPermissionsPolicyHandler
18 : public policy::SchemaValidatingPolicyHandler {
19 public:
20 explicit KeyPermissionsPolicyHandler(const policy::Schema& chrome_schema);
22 // policy::ConfigurationPolicyHandler:
23 void ApplyPolicySettings(const policy::PolicyMap& policies,
24 PrefValueMap* prefs) override;
26 private:
27 DISALLOW_COPY_AND_ASSIGN(KeyPermissionsPolicyHandler);
30 } // namespace chromeos
32 #endif // CHROME_BROWSER_CHROMEOS_PLATFORM_KEYS_KEY_PERMISSIONS_POLICY_HANDLER_H_