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 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h" | 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h" |
6 | 6 |
| 7 #include <limits.h> |
7 #include <stddef.h> | 8 #include <stddef.h> |
8 | 9 |
9 #include "base/bind.h" | 10 #include "base/bind.h" |
10 #include "base/macros.h" | 11 #include "base/macros.h" |
11 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
12 #include "base/prefs/pref_value_map.h" | 13 #include "base/prefs/pref_value_map.h" |
13 #include "base/values.h" | 14 #include "base/values.h" |
14 #include "build/build_config.h" | 15 #include "build/build_config.h" |
15 #include "chrome/browser/policy/managed_bookmarks_policy_handler.h" | 16 #include "chrome/browser/policy/managed_bookmarks_policy_handler.h" |
16 #include "chrome/browser/profiles/incognito_mode_policy_handler.h" | 17 #include "chrome/browser/profiles/incognito_mode_policy_handler.h" |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
817 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, | 818 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, |
818 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); | 819 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); |
819 handlers->AddHandler(make_scoped_ptr( | 820 handlers->AddHandler(make_scoped_ptr( |
820 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); | 821 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); |
821 #endif // defined(OS_CHROMEOS) | 822 #endif // defined(OS_CHROMEOS) |
822 | 823 |
823 return handlers.Pass(); | 824 return handlers.Pass(); |
824 } | 825 } |
825 | 826 |
826 } // namespace policy | 827 } // namespace policy |
OLD | NEW |