OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_HANDLER_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_HANDLER_H_ |
6 #define COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_HANDLER_H_ | 6 #define COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/callback.h" | 11 #include "base/callback.h" |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
16 #include "base/values.h" | 16 #include "base/values.h" |
17 #include "components/policy/core/common/schema.h" | 17 #include "components/policy/core/common/schema.h" |
18 #include "components/policy/policy_export.h" | 18 #include "components/policy/policy_export.h" |
19 | 19 |
20 class PrefValueMap; | 20 class PrefValueMap; |
21 | 21 |
22 namespace policy { | 22 namespace policy { |
23 | 23 |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 private: | 354 private: |
355 ScopedVector<ConfigurationPolicyHandler> legacy_policy_handlers_; | 355 ScopedVector<ConfigurationPolicyHandler> legacy_policy_handlers_; |
356 scoped_ptr<SchemaValidatingPolicyHandler> new_policy_handler_; | 356 scoped_ptr<SchemaValidatingPolicyHandler> new_policy_handler_; |
357 | 357 |
358 DISALLOW_COPY_AND_ASSIGN(LegacyPoliciesDeprecatingPolicyHandler); | 358 DISALLOW_COPY_AND_ASSIGN(LegacyPoliciesDeprecatingPolicyHandler); |
359 }; | 359 }; |
360 | 360 |
361 } // namespace policy | 361 } // namespace policy |
362 | 362 |
363 #endif // COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_HANDLER_H_ | 363 #endif // COMPONENTS_POLICY_CORE_BROWSER_CONFIGURATION_POLICY_HANDLER_H_ |
OLD | NEW |