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

Unified Diff: chrome/browser/chromeos/platform_keys/key_permissions_policy_handlers.cc

Issue 1150373002: platformKeys: Add policy and corporate key tagging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@key_perm
Patch Set: Rebased. 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/key_permissions_policy_handlers.cc
diff --git a/chrome/browser/chromeos/platform_keys/key_permissions_policy_handlers.cc b/chrome/browser/chromeos/platform_keys/key_permissions_policy_handlers.cc
new file mode 100644
index 0000000000000000000000000000000000000000..6e8e87e24156ceb6c0a2512eb5b4fc86adbc3961
--- /dev/null
+++ b/chrome/browser/chromeos/platform_keys/key_permissions_policy_handlers.cc
@@ -0,0 +1,27 @@
+// 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.
+
+#include "chrome/browser/chromeos/platform_keys/key_permissions_policy_handlers.h"
+
+#include "policy/policy_constants.h"
+
+namespace chromeos {
+
+KeyPermissionsPolicyHandler::KeyPermissionsPolicyHandler(
+ const policy::Schema& chrome_schema)
+ : policy::SchemaValidatingPolicyHandler(
+ policy::key::kKeyPermissions,
+ chrome_schema.GetKnownProperty(policy::key::kKeyPermissions),
bartfab (slow) 2015/06/15 17:28:15 Nit: #include "components/policy/core/common/schem
pneubeck (no reviews) 2015/06/17 08:59:56 Done.
+ policy::SCHEMA_ALLOW_UNKNOWN) {
+}
+
+KeyPermissionsPolicyHandler::~KeyPermissionsPolicyHandler() {
+}
+
+void KeyPermissionsPolicyHandler::ApplyPolicySettings(
+ const policy::PolicyMap& /* policies */,
+ PrefValueMap* /* prefs */) {
+}
bartfab (slow) 2015/06/15 17:28:15 We normally use a pref as the vehicle to move poli
pneubeck (no reviews) 2015/06/17 08:59:56 Opinions on this seem to deviate as Mattias agreed
+
+} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698