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

Side by Side Diff: chrome/browser/chromeos/platform_keys/key_permissions_policy_handler.cc

Issue 2273783002: Move policy generated files to components/policy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed headers Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/platform_keys/key_permissions_policy_handler.h " 5 #include "chrome/browser/chromeos/platform_keys/key_permissions_policy_handler.h "
6 6
7 #include "components/policy/core/common/schema.h" 7 #include "components/policy/core/common/schema.h"
8 #include "policy/policy_constants.h" 8 #include "components/policy/policy_constants.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 KeyPermissionsPolicyHandler::KeyPermissionsPolicyHandler( 12 KeyPermissionsPolicyHandler::KeyPermissionsPolicyHandler(
13 const policy::Schema& chrome_schema) 13 const policy::Schema& chrome_schema)
14 : policy::SchemaValidatingPolicyHandler( 14 : policy::SchemaValidatingPolicyHandler(
15 policy::key::kKeyPermissions, 15 policy::key::kKeyPermissions,
16 chrome_schema.GetKnownProperty(policy::key::kKeyPermissions), 16 chrome_schema.GetKnownProperty(policy::key::kKeyPermissions),
17 policy::SCHEMA_ALLOW_UNKNOWN) { 17 policy::SCHEMA_ALLOW_UNKNOWN) {
18 } 18 }
19 19
20 void KeyPermissionsPolicyHandler::ApplyPolicySettings( 20 void KeyPermissionsPolicyHandler::ApplyPolicySettings(
21 const policy::PolicyMap& /* policies */, 21 const policy::PolicyMap& /* policies */,
22 PrefValueMap* /* prefs */) { 22 PrefValueMap* /* prefs */) {
23 } 23 }
24 24
25 } // namespace chromeos 25 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698