Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3660)

Unified Diff: chrome/browser/chromeos/arc/arc_backup_restore_policy_handler.h

Issue 2127113002: Policy to control ARC Backup&Restore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.
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.
+// 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_

Powered by Google App Engine
This is Rietveld 408576698