OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_POLICY_FILE_SELECTION_DIALOGS_POLICY_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_FILE_SELECTION_DIALOGS_POLICY_HANDLER_H_ |
6 #define CHROME_BROWSER_POLICY_FILE_SELECTION_DIALOGS_POLICY_HANDLER_H_ | 6 #define CHROME_BROWSER_POLICY_FILE_SELECTION_DIALOGS_POLICY_HANDLER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "chrome/browser/policy/configuration_policy_handler.h" | 10 #include "components/policy/core/browser/configuration_policy_handler.h" |
11 | 11 |
12 namespace policy { | 12 namespace policy { |
13 | 13 |
14 // ConfigurationPolicyHandler for the FileSelectionDialogs policy. | 14 // ConfigurationPolicyHandler for the FileSelectionDialogs policy. |
15 class FileSelectionDialogsPolicyHandler : public TypeCheckingPolicyHandler { | 15 class FileSelectionDialogsPolicyHandler : public TypeCheckingPolicyHandler { |
16 public: | 16 public: |
17 FileSelectionDialogsPolicyHandler(); | 17 FileSelectionDialogsPolicyHandler(); |
18 virtual ~FileSelectionDialogsPolicyHandler(); | 18 virtual ~FileSelectionDialogsPolicyHandler(); |
19 | 19 |
20 // ConfigurationPolicyHandler methods: | 20 // ConfigurationPolicyHandler methods: |
21 virtual void ApplyPolicySettings(const PolicyMap& policies, | 21 virtual void ApplyPolicySettings(const PolicyMap& policies, |
22 PrefValueMap* prefs) OVERRIDE; | 22 PrefValueMap* prefs) OVERRIDE; |
23 | 23 |
24 private: | 24 private: |
25 DISALLOW_COPY_AND_ASSIGN(FileSelectionDialogsPolicyHandler); | 25 DISALLOW_COPY_AND_ASSIGN(FileSelectionDialogsPolicyHandler); |
26 }; | 26 }; |
27 | 27 |
28 } // namespace policy | 28 } // namespace policy |
29 | 29 |
30 #endif // CHROME_BROWSER_POLICY_FILE_SELECTION_DIALOGS_POLICY_HANDLER_H_ | 30 #endif // CHROME_BROWSER_POLICY_FILE_SELECTION_DIALOGS_POLICY_HANDLER_H_ |
OLD | NEW |