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

Side by Side Diff: chrome/browser/supervised_user/supervised_user_creation_policy_handler.h

Issue 2928823003: Make it possible to build without enable_supervised_users.
Patch Set: Does it still compile with the feature enabled? Created 3 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CREATION_POLICY_HANDLER_H _ 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CREATION_POLICY_HANDLER_H _
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CREATION_POLICY_HANDLER_H _ 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CREATION_POLICY_HANDLER_H _
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/supervised_user/supervised_users.h"
9 #include "components/policy/core/browser/configuration_policy_handler.h" 10 #include "components/policy/core/browser/configuration_policy_handler.h"
10 11
11 class PrefValueMap; 12 class PrefValueMap;
12 13
13 namespace policy { 14 namespace policy {
14 15
15 class PolicyMap; 16 class PolicyMap;
16 17
17 class SupervisedUserCreationPolicyHandler : public TypeCheckingPolicyHandler { 18 class SupervisedUserCreationPolicyHandler : public TypeCheckingPolicyHandler {
18 public: 19 public:
19 SupervisedUserCreationPolicyHandler(); 20 SupervisedUserCreationPolicyHandler();
20 ~SupervisedUserCreationPolicyHandler() override; 21 ~SupervisedUserCreationPolicyHandler() override;
21 22
22 void ApplyPolicySettings(const PolicyMap& policies, 23 void ApplyPolicySettings(const PolicyMap& policies,
23 PrefValueMap* prefs) override; 24 PrefValueMap* prefs) override;
24 25
25 private: 26 private:
26 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationPolicyHandler); 27 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationPolicyHandler);
27 }; 28 };
28 29
29 } // namespace policy 30 } // namespace policy
30 31
31 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CREATION_POLICY_HANDLE R_H_ 32 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_CREATION_POLICY_HANDLE R_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_attributes_storage_unittest.cc ('k') | chrome/browser/sync/profile_sync_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698