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_PLUGINS_PLUGIN_POLICY_HANDLER_H_ | |
6 #define CHROME_BROWSER_PLUGINS_PLUGIN_POLICY_HANDLER_H_ | |
7 | |
8 #include "components/policy/core/browser/configuration_policy_handler.h" | |
9 | |
10 class PrefValueMap; | |
11 | |
12 namespace policy { | |
13 | |
14 class PolicyErrorMap; | |
15 class PolicyMap; | |
16 | |
17 // ConfigurationPolicyHandler for the plugin policies that re-enable NPAPI. | |
18 class PluginPolicyHandler : public ConfigurationPolicyHandler { | |
Mattias Nissler (ping if slow)
2015/04/10 19:22:45
It probably makes sense to rename PluginPolicyHand
| |
19 public: | |
20 PluginPolicyHandler(); | |
21 | |
22 ~PluginPolicyHandler() override; | |
23 | |
24 // ConfigurationPolicyHandler methods: | |
25 void ApplyPolicySettings(const PolicyMap& policies, | |
26 PrefValueMap* prefs) override; | |
27 // ConfigurationPolicyHandler methods: | |
28 bool CheckPolicySettings(const PolicyMap& policies, | |
29 PolicyErrorMap* prefs) override; | |
30 | |
31 DISALLOW_COPY_AND_ASSIGN(PluginPolicyHandler); | |
Mattias Nissler (ping if slow)
2015/04/10 19:22:45
nit: #include "base/macros.h"
| |
32 }; | |
33 | |
34 } // namespace policy | |
35 | |
36 #endif // CHROME_BROWSER_PLUGINS_PLUGIN_POLICY_HANDLER_H_ | |
OLD | NEW |