Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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_SUPERVISED_USER_SUPERVISED_USER_CREATION_POLICY_HANDLER_H _ | |
| 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CREATION_POLICY_HANDLER_H _ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "components/policy/core/browser/configuration_policy_handler.h" | |
| 10 | |
| 11 class PrefValueMap; | |
| 12 | |
| 13 namespace policy { | |
|
Marc Treib
2016/12/06 09:28:36
This probably shouldn't be in the policy namespace
zmin
2016/12/06 17:04:55
I have checked other policy handlers that are not
Marc Treib
2016/12/06 17:13:39
Hm alright, fair enough. I still think this kind o
| |
| 14 | |
| 15 class PolicyMap; | |
| 16 | |
| 17 class SupervisedUserCreationPolicyHandler : public TypeCheckingPolicyHandler { | |
| 18 public: | |
| 19 SupervisedUserCreationPolicyHandler(); | |
| 20 ~SupervisedUserCreationPolicyHandler() override; | |
| 21 | |
| 22 void ApplyPolicySettings(const PolicyMap& policies, | |
| 23 PrefValueMap* prefs) override; | |
| 24 | |
| 25 private: | |
| 26 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationPolicyHandler); | |
| 27 }; | |
| 28 | |
| 29 } // namespace policy | |
| 30 | |
| 31 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CREATION_POLICY_HANDLE R_H_ | |
| OLD | NEW |