Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
|
Yusuke Sato
2016/07/11 03:03:40
one more nit: can you file a placeholder crbug.com
Sergey Poromov
2016/07/11 14:35:14
Done.
| |
| 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_ARC_ARC_BACKUP_RESTORE_POLICY_HANDLER_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_BACKUP_RESTORE_POLICY_HANDLER_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "components/policy/core/browser/configuration_policy_handler.h" | |
| 10 | |
| 11 namespace arc { | |
| 12 | |
| 13 // ConfigurationPolicyHandler for the ArcBackupRestoreEnabled policy. | |
| 14 class ArcBackupRestorePolicyHandler : public policy::TypeCheckingPolicyHandler { | |
| 15 public: | |
| 16 ArcBackupRestorePolicyHandler(); | |
| 17 ~ArcBackupRestorePolicyHandler() override; | |
| 18 | |
| 19 // ConfigurationPolicyHandler methods: | |
| 20 void ApplyPolicySettings(const policy::PolicyMap& policies, | |
| 21 PrefValueMap* prefs) override; | |
| 22 | |
| 23 private: | |
| 24 DISALLOW_COPY_AND_ASSIGN(ArcBackupRestorePolicyHandler); | |
| 25 }; | |
| 26 | |
| 27 } // namespace arc | |
| 28 | |
| 29 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_BACKUP_RESTORE_POLICY_HANDLER_H_ | |
| OLD | NEW |