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

Unified Diff: chrome/browser/chromeos/platform_keys/policy_handlers.h

Issue 1150373002: platformKeys: Add policy and corporate key tagging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@key_perm
Patch Set: Created 5 years, 6 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/platform_keys/policy_handlers.h
diff --git a/chrome/browser/chromeos/platform_keys/policy_handlers.h b/chrome/browser/chromeos/platform_keys/policy_handlers.h
new file mode 100644
index 0000000000000000000000000000000000000000..df23eb6695931801f93e075ae824965ad68ab9cb
--- /dev/null
+++ b/chrome/browser/chromeos/platform_keys/policy_handlers.h
@@ -0,0 +1,30 @@
+// Copyright 2015 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_PLATFORM_KEYS_POLICY_HANDLERS_H_
+#define CHROME_BROWSER_CHROMEOS_PLATFORM_KEYS_POLICY_HANDLERS_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "base/values.h"
+#include "components/policy/core/browser/configuration_policy_handler.h"
+
+namespace chromeos {
+
+class KeyPermissionsPolicyHandler
+ : public policy::SchemaValidatingPolicyHandler {
+ public:
+ explicit KeyPermissionsPolicyHandler(const policy::Schema& chrome_schema);
+ ~KeyPermissionsPolicyHandler() override;
+
+ // ConfigurationPolicyHandler:
+ void ApplyPolicySettings(const policy::PolicyMap& policies,
+ PrefValueMap* prefs) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(KeyPermissionsPolicyHandler);
+};
+
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_PLATFORM_KEYS_POLICY_HANDLERS_H_

Powered by Google App Engine
This is Rietveld 408576698