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

Side by Side Diff: chrome/browser/chromeos/platform_keys/key_permissions_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: 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_PLATFORM_KEYS_KEY_PERMISSIONS_POLICY_HANDLERS_H_
bartfab (slow) 2015/06/15 17:28:15 Nit: Why is the file name in the plural (handler*s
pneubeck (no reviews) 2015/06/17 08:59:56 Done.
6 #define CHROME_BROWSER_CHROMEOS_PLATFORM_KEYS_KEY_PERMISSIONS_POLICY_HANDLERS_H_
7
8 #include "base/memory/scoped_ptr.h"
bartfab (slow) 2015/06/15 17:28:15 Nit: Not used.
pneubeck (no reviews) 2015/06/17 08:59:56 Done.
9 #include "base/values.h"
bartfab (slow) 2015/06/15 17:28:15 Nit: Not used.
pneubeck (no reviews) 2015/06/17 08:59:56 Done.
10 #include "components/policy/core/browser/configuration_policy_handler.h"
11
12 namespace chromeos {
13
14 class KeyPermissionsPolicyHandler
15 : public policy::SchemaValidatingPolicyHandler {
16 public:
17 explicit KeyPermissionsPolicyHandler(const policy::Schema& chrome_schema);
bartfab (slow) 2015/06/15 17:28:15 Nit: Forward-declare |policy::Schema|.
pneubeck (no reviews) 2015/06/17 08:59:56 Done.
18 ~KeyPermissionsPolicyHandler() override;
bartfab (slow) 2015/06/15 17:28:15 Nit: No need to override the destructor here.
pneubeck (no reviews) 2015/06/17 08:59:56 Done.
19
20 // ConfigurationPolicyHandler:
bartfab (slow) 2015/06/15 17:28:15 Nit: s|// |// policy::|
pneubeck (no reviews) 2015/06/17 08:59:56 Done.
21 void ApplyPolicySettings(const policy::PolicyMap& policies,
22 PrefValueMap* prefs) override;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(KeyPermissionsPolicyHandler);
bartfab (slow) 2015/06/15 17:28:15 Nit: #include "base/macros.h"
pneubeck (no reviews) 2015/06/17 08:59:56 Done.
26 };
27
28 } // namespace chromeos
29
30 #endif // CHROME_BROWSER_CHROMEOS_PLATFORM_KEYS_KEY_PERMISSIONS_POLICY_HANDLERS _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698