| Index: chrome/browser/chromeos/arc/arc_backup_restore_policy_handler.h
|
| diff --git a/chrome/browser/chromeos/arc/arc_backup_restore_policy_handler.h b/chrome/browser/chromeos/arc/arc_backup_restore_policy_handler.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8c4118262ff121590c47be66cdda0d0acc87dd95
|
| --- /dev/null
|
| +++ b/chrome/browser/chromeos/arc/arc_backup_restore_policy_handler.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_BACKUP_RESTORE_POLICY_HANDLER_H_
|
| +#define CHROME_BROWSER_CHROMEOS_ARC_ARC_BACKUP_RESTORE_POLICY_HANDLER_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "components/policy/core/browser/configuration_policy_handler.h"
|
| +
|
| +namespace arc {
|
| +
|
| +// ConfigurationPolicyHandler for the ArcBackupRestoreEnabled policy.
|
| +class ArcBackupRestorePolicyHandler : public policy::TypeCheckingPolicyHandler {
|
| + public:
|
| + ArcBackupRestorePolicyHandler();
|
| + ~ArcBackupRestorePolicyHandler() override;
|
| +
|
| + // ConfigurationPolicyHandler methods:
|
| + void ApplyPolicySettings(const policy::PolicyMap& policies,
|
| + PrefValueMap* prefs) override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ArcBackupRestorePolicyHandler);
|
| +};
|
| +
|
| +} // namespace arc
|
| +
|
| +#endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_BACKUP_RESTORE_POLICY_HANDLER_H_
|
|
|